blob: 33110ce43343be0310b41f93c72d7f504a8461c7 (
plain) (
tree)
|
|
./tests/patmat/t2442/t2442.scala:4: warning: match may not be exhaustive.
It would fail on the following input: THREE
def f(e: MyEnum) = e match {
^
./tests/patmat/t2442/t2442.scala:11: warning: match may not be exhaustive.
It would fail on the following input: BLUE
def g(e: MySecondEnum) = e match {
^
two warnings found
|