blob: f15289c1c01a8b66ced4b8f7b33de2c753a674aa (
plain) (
blame)
1
2
3
4
5
6
|
t7294.scala:4: warning: fruitless type test: a value of type (Int, Int) cannot also be a Seq[A]
(1, 2) match { case Seq() => 0; case _ => 1 }
^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found
|