Fix equality operator precedence
Opened this issue · 1 comments
sam701 commented
Make these expressions parsable:
3 > 2 == true
if true then 3 else 2 == 3 // ambiguous, see comment below
sam701 commented
The expression if true then 3 else 2 == 3
is ambiguous depending on associativity. It can be seen as (if true then 3 else 2) == 3
or if true then 3 else (2 == 3)
. This case won't be fixed.