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

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