Hacker News new | ask | show | jobs
by moring 249 days ago
That Github issue doesn't really stress how serious he problem is. They make it sound like unnecessary parentheses get removed when they should be kept for clarify. What actually happens is that necessary parentheses get removed, altering the meaning of the expression. The example I encountered myself was this or similar to it (can't remember exactly):

(a || b) && c --> a || b && c

which then gets interpreted as

a || (b && c)

1 comments

They would obviously fix it pretty quick if you reported something like that, the still open github issue is about pure styling/readability issue...