blob: d2276ce33370426a8a6b865df3dc35ae471abb93 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import scala.reflect.mirror._
object Test extends App {
def fooNoTypeTag[T] = {
println(implicitly[ConcreteTypeTag[T]])
println(implicitly[ConcreteTypeTag[List[T]]])
}
fooNoTypeTag[Int]
}
|