diff options
Diffstat (limited to 'test/pending/run/reify_newimpl_46.scala')
-rw-r--r-- | test/pending/run/reify_newimpl_46.scala | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/pending/run/reify_newimpl_46.scala b/test/pending/run/reify_newimpl_46.scala deleted file mode 100644 index d063be0486..0000000000 --- a/test/pending/run/reify_newimpl_46.scala +++ /dev/null @@ -1,15 +0,0 @@ -import scala.reflect.runtime.universe._ -import scala.reflect.runtime.{universe => ru} -import scala.reflect.runtime.{currentMirror => cm} -import scala.tools.reflect.ToolBox - -object Test extends App { - class C[T[_] >: Null] { - val code = reify{val x: T[String] = null; println("ima worx"); x}.tree - println(code.freeTypes) - val T = code.freeTypes(0) - cm.mkToolBox().eval(code, Map(T -> definitions.ListClass.asType)) - } - - new C[List] -}
\ No newline at end of file |