summaryrefslogtreecommitdiff
path: root/test/files/run/macro-reflective-mamd-normal-mi/Impls_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/macro-reflective-mamd-normal-mi/Impls_1.scala')
-rw-r--r--test/files/run/macro-reflective-mamd-normal-mi/Impls_1.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/macro-reflective-mamd-normal-mi/Impls_1.scala b/test/files/run/macro-reflective-mamd-normal-mi/Impls_1.scala
index 5d7e077731..4261a6d45d 100644
--- a/test/files/run/macro-reflective-mamd-normal-mi/Impls_1.scala
+++ b/test/files/run/macro-reflective-mamd-normal-mi/Impls_1.scala
@@ -3,7 +3,7 @@ import scala.reflect.macros.{Context => Ctx}
object Impls {
def foo(c: Ctx)(x: c.Expr[Int]) = {
import c.universe._
- val body = Apply(Select(x.tree, newTermName("$plus")), List(Literal(Constant(1))))
+ val body = Apply(Select(x.tree, TermName("$plus")), List(Literal(Constant(1))))
c.Expr[Int](body)
}
} \ No newline at end of file