Skip to content

fix:incorrect operator precedence#484

Open
IshaanXCoder wants to merge 1 commit intoEYBlockchain:masterfrom
IshaanXCoder:fix/operator-precedence
Open

fix:incorrect operator precedence#484
IshaanXCoder wants to merge 1 commit intoEYBlockchain:masterfrom
IshaanXCoder:fix/operator-precedence

Conversation

@IshaanXCoder
Copy link
Copy Markdown

@IshaanXCoder IshaanXCoder commented Apr 11, 2026

Summary

Previously, there was an incorrect evaluation(a -= b + c --> a - b + c). the changes made wraps binary RHS in parentheses to return the desired output(a - (b + c)), matching Solidity behavior.

Related Issues

#454

Checklist

  • Tests added/updated(n/a)
  • CI passes
  • No secrets/keys committed
  • Docs updated (if needed)
  • Backwards compatible (or noted breaking change)

@IshaanXCoder
Copy link
Copy Markdown
Author

IshaanXCoder commented Apr 11, 2026

Hey @lydiagarms @SwatiEY ! could you pls approve to run the workflow?

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.

1 participant