summaryrefslogtreecommitdiff
path: root/test/files/neg/t8700b.check
blob: 3bff78dd296d842713108fdee784cdd5c7f3cfc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
Bar_2.scala:2: warning: match may not be exhaustive.
It would fail on the following input: B
  def bar1(foo: Foo_1) = foo match {
                         ^
Bar_2.scala:6: warning: match may not be exhaustive.
It would fail on the following input: B
  def bar2(foo: Baz_1) = foo match {
                         ^
error: No warnings can be incurred under -Xfatal-warnings.
two warnings found
one error found