Skip to content

parser: simplify operand preparation in VisitUnary - #69

Merged
rameel merged 1 commit into
mainfrom
parser/simplify-visit-unary
Nov 23, 2026
Merged

rameel merged 1 commit into
mainfrom
parser/simplify-visit-unary

Conversation

@rameel

@rameel rameel commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Merge the two enum checks into one block and switch on expr.UnaryType instead of a tuple whose second element was always _. No behavior change.

@rameel
rameel merged commit 832d8d5 into main Nov 23, 2026
1 check passed
@rameel
rameel deleted the parser/simplify-visit-unary branch November 23, 2026 17:19
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