False positive warning: Unused import of a package #23047
Labels
area:linting
Linting warnings enabled with -W or -Xlint
itype:bug
regression
This worked in a previous version but doesn't anymore
Compiler version
3.7.0-RC1, 3.7.0-RC4
Minimized code
Main.scala:
Util.scala:
Output
Expectation
The code does not compile without the import.
Note
The code does not make much sense, it can be fixed by using
generic[Util](0)
instead ofgeneric[example.Util](0)
, but still, it probably should not create a false warning.The text was updated successfully, but these errors were encountered: