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


                                                
t4302.scala:2: error: abstract type T is unchecked since it is eliminated by erasure
  def hasMatch[T](x: AnyRef) = x.isInstanceOf[T]
                                             ^
one error found