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