summaryrefslogtreecommitdiff
path: root/test/files/neg/unchecked-impossible.check
blob: d150a5a853f6e28df1b99325f5d720c0a54ceb18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
unchecked-impossible.scala:5: warning: fruitless type test: a value of type T2[Int,Int] cannot also be a Seq[A]
    case Seq(x) =>
            ^
unchecked-impossible.scala:5: error: pattern type is incompatible with expected type;
 found   : Seq[A]
 required: T2[Int,Int]
    case Seq(x) =>
            ^
one warning found
one error found