Closed edemaine closed 1 week ago
Examples:
if (do x) return false if (for x of y then x) return false
These end up with missing parentheses around the if condition, because ParenthesizedExpression strips them. For example, the first one becomes:
if
ParenthesizedExpression
if (()=>{{ return x }})() return false
but should be
if ((()=>{{ return x }})()) return false
Examples:
These end up with missing parentheses around the
if
condition, becauseParenthesizedExpression
strips them. For example, the first one becomes:but should be