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