Hacker News new | ask | show | jobs
by derefr 2558 days ago
> Mostly written as y ^ (1 << x), which could easily resolve to these expressions.

We’re talking about a parse-time check; things that resolve to those values after identifier binding won’t throw the warning. It’s not a warning about what you wrote (semantically), it’s a warning about how you wrote it (syntactically).