summaryrefslogtreecommitdiff
path: root/test/files/neg/sealed-java-enums.check
blob: 9a4bd4241eb0cacf39b7bdb0c94858c052845825 (plain) (blame)
1
2
3
4
5
6
7
8
sealed-java-enums.scala:5: error: match is not exhaustive!
missing combination        BLOCKED
missing combination     TERMINATED
missing combination  TIMED_WAITING

  def f(state: State) = state match {
                        ^
one error found