diff options
Diffstat (limited to 'tests/disabled/macro/run/macro-def-path-dependent/Test_2.scala')
-rw-r--r-- | tests/disabled/macro/run/macro-def-path-dependent/Test_2.scala | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/macro-def-path-dependent/Test_2.scala b/tests/disabled/macro/run/macro-def-path-dependent/Test_2.scala new file mode 100644 index 000000000..75a03b54e --- /dev/null +++ b/tests/disabled/macro/run/macro-def-path-dependent/Test_2.scala @@ -0,0 +1,22 @@ +package test2 + +import scala.reflect.macros.blackbox.Context + +trait Exprs { + self: Universe => + + class Expr[T] +} + +trait Reifiers { + self: Universe => + +} + +trait Universe extends Exprs with Reifiers { + def reify[T](expr: T): Expr[T] = macro Impls.reify[T] +} + +object Impls { + def reify[T](cc: Context{ type PrefixType = Universe })(expr: cc.Expr[T]): cc.Expr[cc.prefix.value.Expr[T]] = ??? +} |