} object Main{ println(B.whichClass) } }
Standard input is empty
Main.scala:2: error: type mismatch;
found : Class[(some other)_$1(in method whichClass)] where type (some other)_$1(in method whichClass)
required: Class[_ <: T]
def whichClass: Class[_ <: T] = classManifest[T].erasure
^
one error found
Standard output is empty