summaryrefslogtreecommitdiff
path: root/test/files/neg/bug4302.check
blob: ca33748cfda6f3459201919c70a6e6bdc515e82a (plain) (blame)
1
2
3
4
bug4302.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