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(compiler): Fix precedence of >> #1515

Merged
merged 1 commit into from
Dec 3, 2022

Conversation

ospencer
Copy link
Member

@ospencer ospencer commented Dec 3, 2022

Fixes #1473.

The precedence of >> was being parsed as having the precedence of >. >> is lexed as two > characters so that they don't interfere with type arguments.

@ospencer ospencer requested a review from a team December 3, 2022 17:06
@ospencer ospencer self-assigned this Dec 3, 2022
Copy link
Member

@marcusroberts marcusroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good fix, thanks!

@phated phated merged commit 1565c16 into main Dec 3, 2022
@phated phated deleted the oscar/fix-parsing-of-double-rcaret-op branch December 3, 2022 23:49
@github-actions github-actions bot mentioned this pull request Dec 3, 2022
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.

Formatter: Incorrect removal of parentheses between operators of same precedence
3 participants