3 ms·
> 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
by derefr 7y 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).