aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/macro-reify-type/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/macro-reify-type/Test_2.scala')
-rw-r--r--tests/pending/run/macro-reify-type/Test_2.scala21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/pending/run/macro-reify-type/Test_2.scala b/tests/pending/run/macro-reify-type/Test_2.scala
deleted file mode 100644
index c9e56d718..000000000
--- a/tests/pending/run/macro-reify-type/Test_2.scala
+++ /dev/null
@@ -1,21 +0,0 @@
-import StaticReflect._
-
-object Test extends dotty.runtime.LegacyApp {
- //println(method[List[Int]]("distinct"))
- println(method[List[Int]]("map"))
- //val $u: scala.reflect.runtime.universe.type = scala.reflect.runtime.universe;
- //val $m: $u.Mirror = scala.reflect.runtime.universe.rootMirror;
- //import $u._, $m._, Flag._, internal._
- //val tpe = {
- // val symdef$B2 = reificationSupport.newNestedSymbol(reificationSupport.selectTerm(staticClass("scala.collection.TraversableLike"), "map"), TypeName("B"), NoPosition, DEFERRED | PARAM, false);
- // val symdef$That2 = reificationSupport.newNestedSymbol(reificationSupport.selectTerm(staticClass("scala.collection.TraversableLike"), "map"), TypeName("That"), NoPosition, DEFERRED | PARAM, false);
- // val symdef$f2 = reificationSupport.newNestedSymbol(reificationSupport.selectTerm(staticClass("scala.collection.TraversableLike"), "map"), TermName("f"), NoPosition, PARAM, false);
- // val symdef$bf2 = reificationSupport.newNestedSymbol(reificationSupport.selectTerm(staticClass("scala.collection.TraversableLike"), "map"), TermName("bf"), NoPosition, IMPLICIT | PARAM, false);
- // reificationSupport.setInfo(symdef$B2, TypeBounds(staticClass("scala.Nothing").asType.toTypeConstructor, staticClass("scala.Any").asType.toTypeConstructor));
- // reificationSupport.setInfo(symdef$That2, TypeBounds(staticClass("scala.Nothing").asType.toTypeConstructor, staticClass("scala.Any").asType.toTypeConstructor));
- // reificationSupport.setInfo(symdef$f2, TypeRef(ThisType(staticPackage("scala").asModule.moduleClass), staticClass("scala.Function1"), List(staticClass("scala.Int").asType.toTypeConstructor, TypeRef(NoPrefix, symdef$B2, List()))));
- // reificationSupport.setInfo(symdef$bf2, TypeRef(ThisType(staticPackage("scala.collection.generic").asModule.moduleClass), staticClass("scala.collection.generic.CanBuildFrom"), List(TypeRef(ThisType(staticPackage("scala.collection.immutable").asModule.moduleClass), staticClass("scala.collection.immutable.List"), List(staticClass("scala.Int").asType.toTypeConstructor)), TypeRef(NoPrefix, symdef$B2, List()), TypeRef(NoPrefix, symdef$That2, List()))));
- // PolyType(List(symdef$B2, symdef$That2), MethodType(List(symdef$f2), MethodType(List(symdef$bf2), TypeRef(NoPrefix, symdef$That2, List()))))
- //}
- //println(tpe)
-} \ No newline at end of file