blob: c8567be5d4f745f03d20acdd00f66db447e8e3d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import scala.reflect.runtime.universe._
object Test extends App {
def absTypeTagIsnotClassManifest[T: AbsTypeTag] = {
println(classManifest[T])
}
absTypeTagIsnotClassManifest[Int]
absTypeTagIsnotClassManifest[String]
absTypeTagIsnotClassManifest[Array[Int]]
}
|