blob: 77a95048fd529db1b831a8eec5dccabdd3a7f9d6 (
plain) (
tree)
|
|
import scala.reflect.runtime.universe._
object Test extends App {
def absTypeTagIsnotManifest[T: AbsTypeTag] = {
println(manifest[T])
}
absTypeTagIsnotManifest[Int]
absTypeTagIsnotManifest[String]
absTypeTagIsnotManifest[Array[Int]]
}
|