blob: 507d03a3901db4aa22891a6f9f214a6c3c136338 (
plain) (
tree)
|
|
import scala.reflect.mirror._
object Test extends App {
def fooTypeTag[T: TypeTag] = {
println(implicitly[GroundTypeTag[T]])
println(implicitly[GroundTypeTag[List[T]]])
}
fooTypeTag[Int]
}
|