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