diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-02-05 16:56:48 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-02-05 17:02:11 +0100 |
commit | 75696bc3d310a53594d97853f38bb0dbfef42390 (patch) | |
tree | cabebd3ab2cfbdf7a3d4f1969ead4b2c4055c6f8 /test/pending/run | |
parent | ffc2389840852a120fecd772206d55db9a79f30e (diff) | |
download | scala-75696bc3d310a53594d97853f38bb0dbfef42390.tar.gz scala-75696bc3d310a53594d97853f38bb0dbfef42390.tar.bz2 scala-75696bc3d310a53594d97853f38bb0dbfef42390.zip |
Fixes https://issues.scala-lang.org/browse/SI-5334
New version of reification isn't susceptible to this bug.
The problem was with Code.lift generating not only a tree, but also
a manifest with the type of that tree. That led to an issue in the case
of the type of the manifest depending on a class declared inside the
quasiquote.
Now manifests in reification are gone, so is the problem.
Diffstat (limited to 'test/pending/run')
-rw-r--r-- | test/pending/run/t5334_1.scala | 15 | ||||
-rw-r--r-- | test/pending/run/t5334_2.scala | 15 |
2 files changed, 0 insertions, 30 deletions
diff --git a/test/pending/run/t5334_1.scala b/test/pending/run/t5334_1.scala deleted file mode 100644 index c1eba89c2b..0000000000 --- a/test/pending/run/t5334_1.scala +++ /dev/null @@ -1,15 +0,0 @@ -import scala.tools.nsc.reporters._ -import scala.tools.nsc.Settings -import reflect.runtime.Mirror.ToolBox - -object Test extends App { - val code = scala.reflect.Code.lift{ - class C - new C - }; - - val reporter = new ConsoleReporter(new Settings) - val toolbox = new ToolBox(reporter) - val ttree = toolbox.typeCheck(code.tree) - toolbox.runExpr(ttree) -} diff --git a/test/pending/run/t5334_2.scala b/test/pending/run/t5334_2.scala deleted file mode 100644 index 361b8c85f2..0000000000 --- a/test/pending/run/t5334_2.scala +++ /dev/null @@ -1,15 +0,0 @@ -import scala.tools.nsc.reporters._ -import scala.tools.nsc.Settings -import reflect.runtime.Mirror.ToolBox - -object Test extends App { - val code = scala.reflect.Code.lift{ - class C - List((new C, new C)) - }; - - val reporter = new ConsoleReporter(new Settings) - val toolbox = new ToolBox(reporter) - val ttree = toolbox.typeCheck(code.tree) - toolbox.runExpr(ttree) -} |