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

Force parse_body to be zerovalent #1665

Merged
merged 4 commits into from
Nov 7, 2019

Conversation

charles-cooper
Copy link
Member

@charles-cooper charles-cooper commented Oct 29, 2019

What I did

Fix #1511 and #1620

How I did it

Seq will issue a pop after every univalent statement but the last one.
However, if and for statements should have zerovalent bodies. This PR
forces even the last statement to get a pop if it is univalent.

How to verify it

See new tests

Description for the changelog

Fix stack valency issues in if and for statements.

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Seq will issue a pop after every univalent statement but the last one.
However, if and for statements should have zerovalent bodies, so this
forces even the last statement to get a pop if it is univalent.
@charles-cooper charles-cooper changed the title WIP Force parse_body to be zerovalent Force parse_body to be zerovalent Oct 31, 2019
@jacqueswww
Copy link
Contributor

Thanks Charles!

Copy link
Contributor

@iamdefinitelyahuman iamdefinitelyahuman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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.

Stack underflow in unreachable ERC20.transfer
3 participants