aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/reify_newimpl_06.scala
blob: 8743da10033d93d2e58f164df2605fd5accb2cb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import scala.reflect.runtime.universe._
import scala.tools.reflect.ToolBox
import scala.tools.reflect.Eval

object Test extends dotty.runtime.LegacyApp {
  class C(val y: Int) {
    val code = reify {
      reify{y}.eval
    }
  }

  println(new C(2).code.eval)
}