summaryrefslogtreecommitdiff
path: root/test/files/run/macro-typecheck-macrosdisabled/Impls_Macros_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/macro-typecheck-macrosdisabled/Impls_Macros_1.scala')
-rw-r--r--test/files/run/macro-typecheck-macrosdisabled/Impls_Macros_1.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/macro-typecheck-macrosdisabled/Impls_Macros_1.scala b/test/files/run/macro-typecheck-macrosdisabled/Impls_Macros_1.scala
index 5fb7ca1679..0e549f4ab8 100644
--- a/test/files/run/macro-typecheck-macrosdisabled/Impls_Macros_1.scala
+++ b/test/files/run/macro-typecheck-macrosdisabled/Impls_Macros_1.scala
@@ -18,9 +18,9 @@ object Macros {
val rupkg = c.mirror.staticModule("scala.reflect.runtime.package")
val rusym = reificationSupport.selectTerm(rupkg, "universe")
- val NullaryMethodType(rutpe) = rusym.typeSignature
+ val NullaryMethodType(rutpe) = rusym.info
val ru = reificationSupport.newFreeTerm("ru", scala.reflect.runtime.universe)
- reificationSupport.setTypeSignature(ru, rutpe)
+ reificationSupport.setInfo(ru, rutpe)
val tree2 = Apply(Select(Ident(ru), TermName("reify")), List(Literal(Constant(2))))
val ttree2 = c.typecheck(tree2, withMacrosDisabled = true)