aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/newTags.scala
blob: a54bc3c6bc197e2b66e851f70ed99b73bac9e942 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
                                             





                                               
 
import scala.reflect.api.{Universe => ApiUniverse}
import scala.reflect.runtime.{universe => ru}

object Test extends dotty.runtime.LegacyApp {
  println(ru.typeOf[List[Int]])
  def foo[T: ru.TypeTag] = {
    println(ru.typeOf[T])
    println(implicitly[ApiUniverse#TypeTag[T]])
  }
  foo[Map[String, String]]
}