Adjacent strings expression in lists should be error, warning, or otherwise noticeable #14139
Labels
devexp-warning
Issues with the analyzer's Warning codes
legacy-area-analyzer
Use area-devexp instead.
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by [email protected]
I have often run into bugs of the following form:
["a", "b", "c", "d" "e", "f"] // Can you notice a missing comma?
Without a close inspection, you easily conclude that the list declaration is correct.
A proposal:
Make it noticeable in the editor (color, etc.) when adjacent strings expression is used.
Considering making it an error or warning to use adjacent strings expression in list literals (and argument lists?).
The text was updated successfully, but these errors were encountered: