We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got an intern crash on that classic test for overflow.
print( (-2147483647i32 - 1i32) / -1i32 )
The text was updated successfully, but these errors were encountered:
@R4PaSs ideas?
Sorry, something went wrong.
This is strange, I don't have a crash when compiling or executing the program.
$ nitc test.nit $ ./test -2147483648
nitc version: v0.8-1978-g117eb1e
system: 4.4.0-75-generic #96-Ubuntu SMP Thu Apr 20 09:56:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Try with
$ nit test.nit
It crash for me but it's true that it don't crash if you use
$ nitc test.nit $ ./test
$ nitc test.nit
$ ./test
same here, exception with nit test.nit and no exception for compiled code. Linux 32 bit.
nit test.nit
No branches or pull requests
I got an intern crash on that classic test for overflow.
print( (-2147483647i32 - 1i32) / -1i32 )
The text was updated successfully, but these errors were encountered: