summaryrefslogblamecommitdiff
path: root/test/files/neg/unchecked-impossible.check
blob: 75fc390fa8a8810ab5ca5599206dcd3f9d7de0e5 (plain) (tree)
1
2
3
4
5
6
                                                                                                               

                  

                                                          
               
unchecked-impossible.scala:5: warning: fruitless type test: a value of type T2[Int,Int] cannot also be a Seq[A]
    case Seq(x) =>
            ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found