You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
internal compiler crash having to do with constant math #201
if I define the const variables with explicit types (or casting them) the crash goes away. I think the compiler should just inform you and fail gracefully with an error, since theres no way to imply a type there, and any assumption made can be very dangerous.
Activity
pavildon commentedon Sep 26, 2016
if I define the const variables with explicit types (or casting them) the crash goes away. I think the compiler should just inform you and fail gracefully with an error, since theres no way to imply a type there, and any assumption made can be very dangerous.
andrewrk commentedon Sep 26, 2016
That's probably what it's supposed to do. I'll look into this in a bit.
andrewrk commentedon Sep 26, 2016
This is fixed now. Problem was failing to make it be a compile error to do the
~(binary not) operator on an integer literal.