diff options
Diffstat (limited to 'test/files/run/toolbox_typecheck_macrosdisabled.scala')
-rw-r--r-- | test/files/run/toolbox_typecheck_macrosdisabled.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/toolbox_typecheck_macrosdisabled.scala b/test/files/run/toolbox_typecheck_macrosdisabled.scala index ab193808ab..5466cb7765 100644 --- a/test/files/run/toolbox_typecheck_macrosdisabled.scala +++ b/test/files/run/toolbox_typecheck_macrosdisabled.scala @@ -12,9 +12,9 @@ object Test extends App { val toolbox = cm.mkToolBox() val rupkg = cm.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 tree1 = Apply(Select(Ident(ru), TermName("reify")), List(Literal(Constant(2)))) val ttree1 = toolbox.typecheck(tree1, withMacrosDisabled = false) |