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


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