3.5.0-RC2 regression: false positive unused warning on given import with wildcard #20860
Labels
area:linting
Linting warnings enabled with -W or -Xlint
itype:bug
regression
This worked in a previous version but doesn't anymore
Uh oh!
There was an error while loading. Please reload this page.
I'm on vacation and don't have time to really think about this or dig deeper, but since it's a regression I thought I should report it promptly.
on 3.5.0-RC2 this gives:
but the import is definitely used — the code doesn't compile without it
note that I can write
import Ordering.Implicits.seqOrdering
instead, which is better code anyway, the original code is admittedly peculiar (I don't remember what I might have been thinking when I wrote it)minimized from https://github.com/SethTisue/Project-Euler/blob/main/src/test/scala/54.scala
The text was updated successfully, but these errors were encountered: