Skip to content

Merge upstream #15

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

Draft
wants to merge 106 commits into
base: master
Choose a base branch
from
Draft

Merge upstream #15

wants to merge 106 commits into from

Conversation

michprev
Copy link
Member

No description provided.

JoranHonig and others added 30 commits June 12, 2024 10:01
The current operator precedence values were incorrect for some operations,
leading to an incorrect parsing of code. This aligns them with the documented
order on Solidity's website:

  https://docs.soliditylang.org/en/v0.8.27/cheatsheet.html#order-of-precedence-of-operators

It also removes some invalid operators such as `>>>=`, `>>>`, and unary `+`.
`>>>=` is not a valid operator.
This adds some simple tests to ensure operations are parsed in the
right order.
add transient location to variable declariation
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.

6 participants