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 if statement handling for solc 0.7.0+ #630

Merged
merged 1 commit into from
Sep 9, 2020
Merged

Conversation

samczsun
Copy link
Contributor

@samczsun samczsun commented Sep 9, 2020

solidity started stripping null members it seems. this might not be the only thing that's broken, but I guess we can fix them as we stumble across them.

repro case:

solc, the solidity compiler commandline interface
Version: 0.7.0+commit.9e61f92b.Linux.g++
contract C {
    function f() public {
        if (0 > 0) {
            0;
        }
    }
}

@montyly montyly changed the base branch from master to dev September 9, 2020 08:49
@montyly montyly merged commit 11a895e into dev Sep 9, 2020
@montyly montyly deleted the bugfix/if-statement-0.7.0 branch September 9, 2020 10:41
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.

None yet

2 participants