summaryrefslogtreecommitdiff
path: root/test/files/neg/t2442.check
blob: 714816fd62293c1c3d9b42191419890800c1f3d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
t2442.scala:4: error: match may not be exhaustive.
It would fail on the following input: THREE
  def f(e: MyEnum) = e match {
                     ^
t2442.scala:11: error: match may not be exhaustive.
It would fail on the following input: BLUE
  def g(e: MySecondEnum) = e match {
                           ^
two errors found