Unused implicit conversion imports are not detected under certain circumstances #22976
Labels
area:implicits
related to implicits
area:linting
Linting warnings enabled with -W or -Xlint
itype:bug
stat:fixed in next
The issue was fixed in Next and only still applies to LTS.
Compiler version
3.6.4
Minimized code
Note: I could not reproduce this in the REPL
Output
Expectation
The above code should return the following warning:
As far as I can tell, this warning behaves correctly for:
The warning behaves incorrectly for:
Note also this occurs even if the implicit conversion is completely irrelevant to any types involved, as in the above example
The text was updated successfully, but these errors were encountered: