blob: 70c87a78a6195d43a35aa775a99b108f7910d3e7 (
plain) (
tree)
|
|
import scala.reflect.runtime.universe._
object Test extends App {
def concreteTypeTagIsnotClassManifest[T: ConcreteTypeTag] = {
println(classManifest[T])
}
concreteTypeTagIsnotClassManifest[Int]
concreteTypeTagIsnotClassManifest[String]
concreteTypeTagIsnotClassManifest[Array[Int]]
}
|