diff options
Diffstat (limited to 'tests/disabled/macro/run/macro-typecheck-macrosdisabled.check')
-rw-r--r-- | tests/disabled/macro/run/macro-typecheck-macrosdisabled.check | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/macro-typecheck-macrosdisabled.check b/tests/disabled/macro/run/macro-typecheck-macrosdisabled.check new file mode 100644 index 000000000..c618d22d8 --- /dev/null +++ b/tests/disabled/macro/run/macro-typecheck-macrosdisabled.check @@ -0,0 +1,32 @@ +({ + val $u: reflect.runtime.universe.type = scala.reflect.runtime.`package`.universe; + val $m: $u.Mirror = scala.reflect.runtime.`package`.universe.runtimeMirror(this.getClass().getClassLoader()); + $u.Expr.apply[Int(2)]($m, { + final class $treecreator1 extends TreeCreator { + def <init>(): $treecreator1 = { + $treecreator1.super.<init>(); + () + }; + def apply[U <: scala.reflect.api.Universe with Singleton]($m$untyped: scala.reflect.api.Mirror[U]): U#Tree = { + val $u: U = $m$untyped.universe; + val $m: $u.Mirror = $m$untyped.asInstanceOf[$u.Mirror]; + $u.Literal.apply($u.Constant.apply(2)) + } + }; + new $treecreator1() + })($u.TypeTag.apply[Int(2)]($m, { + final class $typecreator2 extends TypeCreator { + def <init>(): $typecreator2 = { + $typecreator2.super.<init>(); + () + }; + def apply[U <: scala.reflect.api.Universe with Singleton]($m$untyped: scala.reflect.api.Mirror[U]): U#Type = { + val $u: U = $m$untyped.universe; + val $m: $u.Mirror = $m$untyped.asInstanceOf[$u.Mirror]; + $u.internal.reificationSupport.ConstantType($u.Constant.apply(2)) + } + }; + new $typecreator2() + })) +}: reflect.runtime.universe.Expr[Int]) +ru.reify[Int](2) |