blob: 9ff0b4466149faaa3b574873f3dc042b78299773 (
plain) (
tree)
|
|
t2442.scala:4: warning: match may not be exhaustive.
It would fail on the following input: THREE
def f(e: MyEnum) = e match {
^
t2442.scala:11: warning: match may not be exhaustive.
It would fail on the following input: BLUE
def g(e: MySecondEnum) = e match {
^
error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found
|