We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's currently possible to use a type constructor of e.g. u8 and feed it a number that is to high such as u8(1000).
u8
u8(1000)
x = u8(1)
should translate into:
x := 1:u8
Related YUL docs on integer literals
The text was updated successfully, but these errors were encountered:
Ensure integer type constructor reject every expression that isn't a …
a5cfb32
…numeric literal Related to ethereum#145
2a5648c
220185f
…numeric literal Related to #145
Enforce bounds on numeric literals in type constructors
b123f60
Fixes ethereum#145
32c22f1
No branches or pull requests
What is wrong?
It's currently possible to use a type constructor of e.g.
u8
and feed it a number that is to high such asu8(1000)
.How can it be fixed
should translate into:
Related YUL docs on integer literals
The text was updated successfully, but these errors were encountered: