Missing parentheses in LogicalExpression
pablobfonseca opened this issue · comments
Motivation
SyntaxError: Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses (1:14)
Expected behavior
It should keep the parentheses.
Actual behavior
The following code:
(false || true) ?? !1
is being transformed without parentheses, and throwing a SyntaxError
Thanks @pablobfonseca for reporting this, should be fixed shortly.