false unused import
warning for scala.compiletime.deferred
#22376
Labels
unused import
warning for scala.compiletime.deferred
#22376
Compiler version
Scala 3.6.2 with scalacOptions "-Wunused:imports"
Minimized code
Output
Scala compiler returns a warning
unused import import scala.compiletime.deferred
The incorrect warning results in misleading highlighting in IntelliJ IDEA when compiler-based highlighting is enabled
Expectation
The compiler should not return an "unused import" warning for
scala.compiletime.deferred
, as it is clearly used in the codeThe text was updated successfully, but these errors were encountered: