summaryrefslogtreecommitdiff
path: root/test/files/neg/sealed-java-enums.check
blob: 20d00c8e91fc1d1095f1443138bb421fd4bf363d (plain) (blame)
1
2
3
4
5
sealed-java-enums.scala:5: error: match may not be exhaustive.
It would fail on the following inputs: BLOCKED, TERMINATED, TIMED_WAITING
  def f(state: State) = state match {
                        ^
one error found