blob: b1fbb7b5a67b726f694b2782c927d40ea6269667 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
object Test extends App {
def typeTagIsnotClassManifest[T: TypeTag] = {
println(classManifest[T])
}
typeTagIsnotClassManifest[Int]
typeTagIsnotClassManifest[String]
typeTagIsnotClassManifest[Array[Int]]
}
|