3 ms·
Dunno about this particular case but I'd say linters are exactly for finding things that are valid but behave differently than the user expects. E.g. "if (x =
by bjackman 9y ago
Dunno about this particular case but I'd say linters are exactly for finding things that are valid but behave differently than the user expects.
E.g. "if (x = 1)" is valid C but i'd be pretty unimpressed if a linter didn't flag it up!