Parser: mixing OprApp with OperatorBlockApplication gives unexpected result #8021
-
The
I can also write it in several lines, making OperatorBlockApplication AST node
But when I mix the above, AST suddenly wants to evaluate 3 + 4 first
Strangely,
@kazcw is this by design? |
Beta Was this translation helpful? Give feedback.
Answered by
kazcw
Oct 11, 2023
Replies: 1 comment
-
This looks like a precedence bug. OperatorBlockApplication needs to bind more loosely than probably all operators except |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
farmaazon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks like a precedence bug. OperatorBlockApplication needs to bind more loosely than probably all operators except
=
.