diff options
Diffstat (limited to 'test/pending/run/reify_newimpl_53.scala')
-rw-r--r-- | test/pending/run/reify_newimpl_53.scala | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/pending/run/reify_newimpl_53.scala b/test/pending/run/reify_newimpl_53.scala deleted file mode 100644 index 54fa4bec1d..0000000000 --- a/test/pending/run/reify_newimpl_53.scala +++ /dev/null @@ -1,18 +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 tt = implicitly[TypeTag[T]] - println("mah typetag is: %s".format(tt)) - }.tree - println(code.freeTypes) - val T = code.freeTypes(0) - cm.mkToolBox().eval(code, Map(T -> definitions.StringClass.asType)) - } - - new C[String] -}
\ No newline at end of file |