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