-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Arithmetic operators convert Int32 to Int64 #7825
Comments
There has been lots of discussion on this, and lots of us think the behaviour is wrong (and that it should be changed). It is at least mentioned in the FAQ, but not as prominent as it should. |
i believe this is changing in 0.4 release, but I could be wrong. |
Yes, we're going to change this in the next major release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd expect x to be Int32 here, and the fact that it's not means that I need to wrap all sorts of stuff in
int32
; that's probably not even sufficient if I don't break down every expression so that it only has one operator, otherwise I'll still have internal Int64s floating around in something likeint32((a + b) * c)
.@astrieanna mentioned that there's probably already a bug on this, but neither of us could find it.
The text was updated successfully, but these errors were encountered: