blob: b577cbc0c12133c80ace0828b83eec3361231de9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
./tests/patmat/t4526.scala:2: warning: match may not be exhaustive.
It would fail on the following input: _: Int
def foo(a: Int) = a match {
^
./tests/patmat/t4526.scala:7: warning: match may not be exhaustive.
It would fail on the following input: (_, _)
def bar(a: (Int, Int)) = a match {
^
./tests/patmat/t4526.scala:12: warning: match may not be exhaustive.
It would fail on the following input: (false, false), (true, true)
def baz(a: (Boolean, Boolean)) = a match {
^
three warnings found
|