From 96dd73146f4317feeb59a242d692977f87c5211d Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Sat, 30 Jun 2012 01:45:47 +0200 Subject: reify no longer dealiases symbols and types this uncovers a bug in toolboxes: https://issues.scala-lang.org/browse/SI-6007 however that bug is not critical, so it will be dealt with later --- test/pending/run/reify_newimpl_09b.scala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/pending/run/reify_newimpl_09b.scala (limited to 'test/pending/run/reify_newimpl_09b.scala') diff --git a/test/pending/run/reify_newimpl_09b.scala b/test/pending/run/reify_newimpl_09b.scala new file mode 100644 index 0000000000..9e86dd5d8d --- /dev/null +++ b/test/pending/run/reify_newimpl_09b.scala @@ -0,0 +1,14 @@ +import scala.reflect.runtime.universe._ +import scala.tools.reflect.ToolBox +import scala.tools.reflect.Eval + +object Test extends App { + { + type U = Int + type T = U + val code = reify { + List[T](2) + } + println(code.eval) + } +} \ No newline at end of file -- cgit v1.2.3