unnecessary_import hint is not reported with single element import #49505
Labels
devexp-warning
Issues with the analyzer's Warning codes
legacy-area-analyzer
Use area-devexp instead.
P3
A lower priority bug or feature request
In the code above, there should be an unnecessary_import warning on one of the 2 imports (likely the second line because the first line is more tighten).
Note that if we uncomment the last line a unnecessary_import warning appears on the first line.
The text was updated successfully, but these errors were encountered: