blob: 3da94e2c2a4099e9ffae409ecdf909f4e0b6bcc4 (
plain) (
blame)
1
2
3
4
5
|
./tests/patmat/t3163.scala:2: warning: match may not be exhaustive.
It would fail on the following input: _: AnyVal
def foo(x : AnyVal) = x match {case b : Boolean => "It's a bool"}
^
one warning found
|