summaryrefslogtreecommitdiff
path: root/test/files/run/reify_newimpl_17.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-06-30 01:45:47 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-07-02 13:21:32 +0200
commit96dd73146f4317feeb59a242d692977f87c5211d (patch)
treeb659995dc470be408db317771d147d1035826384 /test/files/run/reify_newimpl_17.scala
parentc18414d6e1ba89882ba57266bfe96d85fb57713f (diff)
downloadscala-96dd73146f4317feeb59a242d692977f87c5211d.tar.gz
scala-96dd73146f4317feeb59a242d692977f87c5211d.tar.bz2
scala-96dd73146f4317feeb59a242d692977f87c5211d.zip
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
Diffstat (limited to 'test/files/run/reify_newimpl_17.scala')
-rw-r--r--test/files/run/reify_newimpl_17.scala20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/files/run/reify_newimpl_17.scala b/test/files/run/reify_newimpl_17.scala
deleted file mode 100644
index 8fbcd52502..0000000000
--- a/test/files/run/reify_newimpl_17.scala
+++ /dev/null
@@ -1,20 +0,0 @@
-import scala.reflect.runtime.universe._
-import scala.tools.reflect.ToolBox
-import scala.tools.reflect.Eval
-
-object Test extends App {
- class C[U] {
- type T = U
- val code = reify {
- List[T](2.asInstanceOf[T])
- }
- println(code.eval)
- }
-
- try {
- new C[Int]
- } catch {
- case ex: Throwable =>
- println(ex)
- }
-} \ No newline at end of file