blob: 1a59b79a3b02fcaf35aff91aa2db7b0d5d453666 (
plain) (
tree)
|
|
t4302.scala:2: warning: abstract type T in 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
|