-
-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
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
panic on division by zero #780
Comments
This seems to still be happening with the |
@Razican Can you show the examples which produce the wrong result and that should work after this is fixed? |
Yep, for example this: let a = 10 % 0;
a; Panics, saying it entered unreachable code. It should return a |
Describe the bug
Expected an Error, not a panic.
To Reproduce
Can be reproduced with this program:
Expected behavior
An Error
Build environment (please complete the following information):
Additional context
Stacktrace:
The text was updated successfully, but these errors were encountered: