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: allow empty modifier body in AST #169

Merged
merged 2 commits into from
Jul 16, 2024
Merged

fix: allow empty modifier body in AST #169

merged 2 commits into from
Jul 16, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Jul 16, 2024

Closes foundry-rs/foundry#7554

solc since 0.6.7 allows empty body on modifiers

this was incorrect in OpenZeppelin AST impl which served as a reference for our implementation OpenZeppelin/solidity-ast#43

@klkvr klkvr requested review from DaniPopes and mattsse as code owners July 16, 2024 14:05
@klkvr
Copy link
Member Author

klkvr commented Jul 16, 2024

ah accidentally pushed by wip commit with smarter settings configuration

upd: should be good for review

@klkvr klkvr force-pushed the klkvr/fix-ast-modifier branch from 96e0948 to 50eb1de Compare July 16, 2024 14:19
@klkvr klkvr force-pushed the klkvr/fix-ast-modifier branch from 50eb1de to 11a98e0 Compare July 16, 2024 14:20
@klkvr klkvr merged commit b04423c into main Jul 16, 2024
15 checks passed
@DaniPopes DaniPopes deleted the klkvr/fix-ast-modifier branch July 16, 2024 16:02
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.

bug: forge flatten fails with missing field body at line 1 column 30987
2 participants