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 name IntLiteral suggests that the value is of Int type which is not the case. IntLiteral has the type of number which can either be an Int or Float currently (may be extended in the future). Calling it NumberLiteral would be too broad though as it can only represent whole numbers. Hence we should call it WholeNumberLiteral.
The text was updated successfully, but these errors were encountered:
The name
IntLiteral
suggests that the value is ofInt
type which is not the case.IntLiteral
has the type ofnumber
which can either be anInt
orFloat
currently (may be extended in the future). Calling itNumberLiteral
would be too broad though as it can only represent whole numbers. Hence we should call itWholeNumberLiteral
.The text was updated successfully, but these errors were encountered: