blob: ed93d3d400d68fe8004a9bbc0d9c9dbe6a492459 (
plain) (
blame)
1
2
3
4
5
|
./tests/patmat/sealed-java-enums.scala:5: warning: match may not be exhaustive.
It would fail on the following input: TERMINATED, TIMED_WAITING, BLOCKED
def f(state: State) = state match {
^
one warning found
|