summaryrefslogtreecommitdiff
path: root/test/files
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
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')
-rw-r--r--test/files/run/t9252.check1
-rw-r--r--test/files/run/t9252.scala5
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t9252.check b/test/files/run/t9252.check
new file mode 100644
index 0000000000..b00d748f7f
--- /dev/null
+++ b/test/files/run/t9252.check
@@ -0,0 +1 @@
+class [Lscala.runtime.BoxedUnit;
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