Open
Description
Compiler version
3.5.1
Minimized code
package p:
val code = "\"hello, world\""
package q:
import p.*
import scala.compiletime.testing.*
def test() = typeCheckErrors("println(code)")
@main def test() = println:
q.test()
Output
➜ snips scala run --server=false -Wunused:all testing.scala
-- [E198] Unused Symbol Warning: /home/amarki/snips/testing.scala:6:11 -------------------------------------------------
6 | import p.*
| ^
| unused import
1 warning found
List()
Expectation
It would be nice if the lint were aware of compiletime
ops.