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