diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-09-06 13:37:40 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-09-06 20:18:22 +0200 |
commit | f28e4d246cbb52e81228959fe9d80716cc7e2dc3 (patch) | |
tree | 93d05b1b3ad2f19a00e2167382ffbee7d04a5c4e /test/files/run/virtpatmat_typetag.check | |
parent | d27dc71d676abc62ad9ff64c60bd42516b39ea19 (diff) | |
download | scala-f28e4d246cbb52e81228959fe9d80716cc7e2dc3.tar.gz scala-f28e4d246cbb52e81228959fe9d80716cc7e2dc3.tar.bz2 scala-f28e4d246cbb52e81228959fe9d80716cc7e2dc3.zip |
fixes Manifest.Nothing and Manifest.Null
Also introduces an important change to Manifest.Nothing and Manifest.Null.
Previously their `erasure` was equal to classOf[Object]. Now it's correctly
set to classOf[scala.runtime.Nothing$] and classOf[scala.runtime.Null$]
correspondingly.
See a discussion here:
https://groups.google.com/forum/#!topic/scala-internals/Y0ALGo7QPqE
Diffstat (limited to 'test/files/run/virtpatmat_typetag.check')
-rw-r--r-- | test/files/run/virtpatmat_typetag.check | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/files/run/virtpatmat_typetag.check b/test/files/run/virtpatmat_typetag.check index f9800b84d0..eaa9f3361f 100644 --- a/test/files/run/virtpatmat_typetag.check +++ b/test/files/run/virtpatmat_typetag.check @@ -1,10 +1,10 @@ -1 is not a ClassTag[int]; it's a class java.lang.Integer -1 is a ClassTag[class java.lang.Integer] -1 is not a ClassTag[class java.lang.String]; it's a class java.lang.Integer -true is a ClassTag[class java.lang.Object] -woele is a ClassTag[class java.lang.String] -1 is not a ClassTag[int]; it's a class java.lang.Integer -1 is a ClassTag[class java.lang.Integer] -1 is not a ClassTag[class java.lang.String]; it's a class java.lang.Integer -true is a ClassTag[class java.lang.Object] -woele is a ClassTag[class java.lang.String] +1 is not a Int; it's a class java.lang.Integer
+1 is a java.lang.Integer
+1 is not a java.lang.String; it's a class java.lang.Integer
+true is a Any
+woele is a java.lang.String
+1 is not a Int; it's a class java.lang.Integer
+1 is a java.lang.Integer
+1 is not a java.lang.String; it's a class java.lang.Integer
+true is a Any
+woele is a java.lang.String
|