-
-
Notifications
You must be signed in to change notification settings - Fork 804
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
Bug report: wrong error message in integer division #926
Comments
I think the message is correct. Sent with GitHawk |
I thought we changed |
I think we agreed to change that but it looks like it doesn't work. |
I checked that out and it looks like the compiler automatically checks if the result is an |
Nice. Stick a |
@vbuterin @fubuloubu @ben-kaufman I am not completely sure what we agreed upon with constants/literals case.
If we want to keep literals consistent with the above agreed upon VIP. |
^ thumbs up the above comment if you think we should alter to do [literal int] / [literal int] = int128 (using integer division) ? |
The "expected" type should be
decimal
, notint128
.The text was updated successfully, but these errors were encountered: