diff options
Diffstat (limited to 'test/files/run/t5940.scala')
-rw-r--r-- | test/files/run/t5940.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/t5940.scala b/test/files/run/t5940.scala index 9c8f702c68..d98f267123 100644 --- a/test/files/run/t5940.scala +++ b/test/files/run/t5940.scala @@ -4,15 +4,15 @@ object Test extends DirectTest { def code = ??? def macros_1 = """ - import scala.reflect.macros.Context + import scala.reflect.macros.BlackboxContext object Impls { - def impl(c: Context) = { import c.universe._; c.Expr[Unit](q"()") } + def impl(c: BlackboxContext) = { import c.universe._; c.Expr[Unit](q"()") } } object Macros { //import Impls._ - def impl(c: Context) = { import c.universe._; c.Expr[Unit](q"()") } + def impl(c: BlackboxContext) = { import c.universe._; c.Expr[Unit](q"()") } def foo = macro impl } """ |