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