summaryrefslogblamecommitdiff
path: root/test/files/run/reify_newimpl_10.scala
blob: 6e70b4d21690fa72d14d1bd2e903f6600c639476 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                                  
import scala.reflect.mirror._

object Test extends App {
  {
    type T = Int
    implicit val tt = implicitly[TypeTag[String]].asInstanceOf[TypeTag[T]] // this "mistake" is made for a reason!
    val code = reify {
      List[T](2)
    }
    println(code.eval)
  }
}