summaryrefslogtreecommitdiff
path: root/test/files/run/t9252.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2015-03-27 14:28:10 +0100
committerEugene Burmako <xeno.by@gmail.com>2015-03-27 14:28:10 +0100
commit06b5bfa306c4c53ca4b671cb6472828b8fcdd5c3 (patch)
treec9fe235937c9c0fb3e73cb3a41cdb58f7e94e051 /test/files/run/t9252.scala
parent6372df754ca8943a5fea3455936dbb6c1723d78e (diff)
downloadscala-06b5bfa306c4c53ca4b671cb6472828b8fcdd5c3.tar.gz
scala-06b5bfa306c4c53ca4b671cb6472828b8fcdd5c3.tar.bz2
scala-06b5bfa306c4c53ca4b671cb6472828b8fcdd5c3.zip
SI-9252 gets rid of custom logic for jArrayClass in runtime reflection
Apparently, I've already fixed a very similar issue two years ago. That was a fun surprise! (https://issues.scala-lang.org/browse/SI-5680)
Diffstat (limited to 'test/files/run/t9252.scala')
-rw-r--r--test/files/run/t9252.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/t9252.scala b/test/files/run/t9252.scala
new file mode 100644
index 0000000000..da698948e1
--- /dev/null
+++ b/test/files/run/t9252.scala
@@ -0,0 +1,5 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ println(rootMirror.runtimeClass(typeOf[Array[Unit]]))
+} \ No newline at end of file