Skip to content

Avoid index error when creating zero literal #167

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

Merged
merged 4 commits into from
May 15, 2025
Merged

Conversation

etan-status
Copy link
Contributor

Trying to use 0'u256 results in Error: index 1 not in 0 .. 0 because the literal parsing function assumes min length 2 when the literal starts with a 0. Fix that incorrect assumption.

Trying to use `0'u256` results in `Error: index 1 not in 0 .. 0`
because the literal parsing function assumes min length 2 when
the literal starts with a 0. Fix that incorrect assumption.
@etan-status etan-status force-pushed the dev/etan/lt-zero branch 2 times, most recently from 0144425 to b0a0f9c Compare May 14, 2025 13:04
@tersec tersec merged commit 4992f27 into master May 15, 2025
12 checks passed
@tersec tersec deleted the dev/etan/lt-zero branch May 15, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants