summaryrefslogblamecommitdiff
path: root/test/files/neg/t4302.check
blob: ea4872927679f4a19a8ac9b5ad1d972e7f17d5da (plain) (tree)
1
2
3
4
5
6
                                                                                      

                                                

                                                          
               
t4302.scala:2: warning: abstract type T is unchecked since it is eliminated by erasure
  def hasMatch[T](x: AnyRef) = x.isInstanceOf[T]
                                             ^
error: No warnings can be incurred under -Xfatal-warnings.
one warning found
one error found