summaryrefslogblamecommitdiff
path: root/test/files/pos/typetags.scala
blob: 33390d7b89c9e68222aa451ea0fb77f653cdef77 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                
import scala.reflect.{basis => rb}
import scala.reflect.runtime.{universe => ru}

object Test {
  def main(args: Array[String]) {
    def foo(implicit t: rb.TypeTag[List[Int]]) {
      println(t)
      val t2: ru.TypeTag[_] = t in ru.rootMirror
      println(t2)
    }
  }
}