-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area:enumsarea:lintingLinting warnings enabled with -W or -XlintLinting warnings enabled with -W or -Xlintitype:bug
Description
Minimized code
//> using scala 3.8.0-RC1
//> using options -Wunused:all
import Test.OnlyFirst
enum Test:
case First extends Test with OnlyFirst
case Second extends Test
object Test:
sealed trait OnlyFirst
@main def hello() = ()Output
[warn] ./enum.scala:4:13
[warn] unused import
[warn] import Test.OnlyFirst
[warn]Expectation
no warnings are expected
Metadata
Metadata
Assignees
Labels
area:enumsarea:lintingLinting warnings enabled with -W or -XlintLinting warnings enabled with -W or -Xlintitype:bug