diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-07-23 17:52:56 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-07-23 19:48:09 +0200 |
commit | 2864c7f2d744661b2ffc528c1180ad0596a07483 (patch) | |
tree | 2a1619677087adad03057b7021f2efbe53095ed2 /test/files/run/t7510/Test_2.scala | |
parent | fc4b464faeb43c3e2917b11a95c4f84481c443f7 (diff) | |
download | scala-2864c7f2d744661b2ffc528c1180ad0596a07483.tar.gz scala-2864c7f2d744661b2ffc528c1180ad0596a07483.tar.bz2 scala-2864c7f2d744661b2ffc528c1180ad0596a07483.zip |
brings JavaMirrors up to speed with ClassfileParser
Apparently there are still discrepancies between how the vanilla compiler
turns class files into symbols and how the reflective compiler does it.
Working on bringing these guys in sync, one bug at a time.
Diffstat (limited to 'test/files/run/t7510/Test_2.scala')
-rw-r--r-- | test/files/run/t7510/Test_2.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t7510/Test_2.scala b/test/files/run/t7510/Test_2.scala new file mode 100644 index 0000000000..7d7a95e0f2 --- /dev/null +++ b/test/files/run/t7510/Test_2.scala @@ -0,0 +1,9 @@ +import scala.reflect.runtime.universe._ +import scala.reflect.runtime.{currentMirror => cm} +import scala.tools.reflect.ToolBox + +object Test extends App { + val tb = cm.mkToolBox() + tb.compile(tb.parse("@foo.Ann_1 class C")) +} + |