aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/reify_renamed_term_local_to_reifee.scala
blob: b9327937620d054365bde2272794475767abe45a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval

object A {
  object B {
    val c = ()
  }
}

object Test extends dotty.runtime.LegacyApp {
  val expr = reify {
    import A.{B => X}
    import A.B.{c => y}
    import X.{c => z}

    (X.c, y, z)
  }

  println(expr.eval)
}