blob: 9bc1f32e865060a871d2a0e5c55d7f2d9aae76c9 (
plain) (
tree)
|
|
object Test extends App {
def classManifestIspartiallyTypeTag[T: ClassManifest] = {
println(typeTag[T].tpe)
println(typeTag[T].erasure)
}
classManifestIspartiallyTypeTag[Int]
classManifestIspartiallyTypeTag[String]
classManifestIspartiallyTypeTag[Array[Int]]
}
|