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
The lowering done by SemLiterals is better done in SemTypes, which has all the context about integer types it needs. With the current implementation the following is invalid:
var x: Size = 1
because 1 is inferred to be of type Int32, which cannot be converted to an unsigned type like Size.
The text was updated successfully, but these errors were encountered:
The lowering done by
SemLiterals
is better done inSemTypes
, which has all the context about integer types it needs. With the current implementation the following is invalid:because
1
is inferred to be of typeInt32
, which cannot be converted to an unsigned type likeSize
.The text was updated successfully, but these errors were encountered: