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

add shift(<<, >>, >>>) operator #7183

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

Conversation

@@ -301,7 +301,7 @@ let operator_precedence operator =
| "||" -> 2
| "&&" -> 3
| "=" | "==" | "<" | ">" | "!=" | "<>" | "!==" | "<=" | ">=" | "|>" -> 4
| "+" | "+." | "-" | "-." | "^" -> 5
| "+" | "+." | "-" | "-." | "^" | "<<" -> 5
Copy link
Member

Choose a reason for hiding this comment

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

We need to dedicate precedence for shift operators, according to JS' one

@gwansikk gwansikk changed the title add left shift(<<) operator add shift(<<, >>, >>>) operator Dec 8, 2024
@cknitt
Copy link
Member

cknitt commented Feb 8, 2025

Hi @gwansikk! Would be great to get this PR merged - do you have time to pick up work on it again?

@gwansikk
Copy link
Author

gwansikk commented Feb 8, 2025

Hi @gwansikk! Would be great to get this PR merged - do you have time to pick up work on it again?

of course! I had been missing it due to personal matters. I will try to work on it as soon as possible.

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.

3 participants