diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-08-05 20:02:39 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-08-06 23:09:31 +0200 |
commit | 3aa221e28c3ae0381b876448e3174f0c527e9abc (patch) | |
tree | 00567362f8608a5d62ef58881561c883c99ba445 /test/files/run/reflection-valueclasses-standard.check | |
parent | 432d7b86cb7c46d0415b8c06bf8045e309c63f03 (diff) | |
download | scala-3aa221e28c3ae0381b876448e3174f0c527e9abc.tar.gz scala-3aa221e28c3ae0381b876448e3174f0c527e9abc.tar.bz2 scala-3aa221e28c3ae0381b876448e3174f0c527e9abc.zip |
SI-6179 mirrors now work with value classes
mirrors now carry a class tag of the receiver, so that they can detect
value classes being reflected upon and adjust accordingly (e.g. allow
Int_+ for ints, but disallow it for Integers).
Surprisingly enough derived value classes (SIP-15 guys that inherit from AnyVal)
have been working all along, so no modification were required to fix them.
Diffstat (limited to 'test/files/run/reflection-valueclasses-standard.check')
-rw-r--r-- | test/files/run/reflection-valueclasses-standard.check | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/files/run/reflection-valueclasses-standard.check b/test/files/run/reflection-valueclasses-standard.check new file mode 100644 index 0000000000..060ab55406 --- /dev/null +++ b/test/files/run/reflection-valueclasses-standard.check @@ -0,0 +1,27 @@ +========byte========
+byte
+2
+========short========
+short
+2
+========int========
+int
+2
+========long========
+long
+2
+========float========
+float
+2.0
+========double========
+double
+2.0
+========char========
+char
+2
+========boolean========
+boolean
+true
+========void========
+void
+()
|