diff options
Diffstat (limited to 'test/files/run/toolbox_typecheck_macrosdisabled2.scala')
-rw-r--r-- | test/files/run/toolbox_typecheck_macrosdisabled2.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/toolbox_typecheck_macrosdisabled2.scala b/test/files/run/toolbox_typecheck_macrosdisabled2.scala index 94b6fb9249..606d3d40cb 100644 --- a/test/files/run/toolbox_typecheck_macrosdisabled2.scala +++ b/test/files/run/toolbox_typecheck_macrosdisabled2.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(Apply(Select(Ident(TermName("scala")), TermName("Array")), List(Literal(Constant(2)))))) val ttree1 = toolbox.typecheck(tree1, withMacrosDisabled = false) |