summaryrefslogtreecommitdiff
path: root/test/files/run/macro-bodyexpandstoimpl/Impls_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/macro-bodyexpandstoimpl/Impls_1.scala')
-rw-r--r--test/files/run/macro-bodyexpandstoimpl/Impls_1.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/macro-bodyexpandstoimpl/Impls_1.scala b/test/files/run/macro-bodyexpandstoimpl/Impls_1.scala
index 0ca0be5a48..9c1e4ee46d 100644
--- a/test/files/run/macro-bodyexpandstoimpl/Impls_1.scala
+++ b/test/files/run/macro-bodyexpandstoimpl/Impls_1.scala
@@ -6,7 +6,7 @@ object Impls {
def refToFoo(dummy: Int) = macro refToFoo_impl
def refToFoo_impl(c: Ctx)(dummy: c.Expr[Int]) = {
import c.universe._
- val body = Select(Ident(newTermName("Impls")), newTermName("foo"))
+ val body = Select(Ident(TermName("Impls")), TermName("foo"))
c.Expr[Int](body)
}
} \ No newline at end of file