Skip to content
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

Fix parsing of integers with leading 0s #982

Merged
merged 16 commits into from
Apr 21, 2021
Merged

Fix parsing of integers with leading 0s #982

merged 16 commits into from
Apr 21, 2021

Conversation

vaivaswatha
Copy link
Contributor

No description provided.

@jjcnn
Copy link
Contributor

jjcnn commented Apr 20, 2021

@vaivaswatha : I've improved the test case, simplified the regexp malarkey, and added some comments as to how it works. I don't think it's that complex, TBH.

However, strictly speaking this is a breaking change because someone might have relied on builtin to_uint32 "+123" returning None...

@jjcnn jjcnn marked this pull request as ready for review April 20, 2021 22:09
@jjcnn jjcnn requested a review from anton-trunov as a code owner April 20, 2021 22:09
@jjcnn
Copy link
Contributor

jjcnn commented Apr 20, 2021

Anyway, I've approved the PR, so merge if you're ok with the change.

Co-authored-by: Anton Trunov <anton@zilliqa.com>
@vaivaswatha vaivaswatha merged commit c2ef23a into master Apr 21, 2021
@vaivaswatha vaivaswatha deleted the fix_int_lit branch April 21, 2021 07:54
AmritKumar added a commit that referenced this pull request Apr 21, 2021
Fix parsing of integers with leading 0s (#982)
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.

3 participants