diff options
author | Antoine Gourlay <antoine@gourlay.fr> | 2014-08-18 10:18:46 +0200 |
---|---|---|
committer | Antoine Gourlay <antoine@gourlay.fr> | 2014-09-09 11:53:16 +0200 |
commit | e01b461ad98a7cd6183d222ef91c674306c62ffd (patch) | |
tree | 11705a163d132611f4b7574e272408969e4b160d /test/files/run/t8764.check | |
parent | 7a6947487dc8ea551ff7489b07cc30366b39d25e (diff) | |
download | scala-e01b461ad98a7cd6183d222ef91c674306c62ffd.tar.gz scala-e01b461ad98a7cd6183d222ef91c674306c62ffd.tar.bz2 scala-e01b461ad98a7cd6183d222ef91c674306c62ffd.zip |
[nomaster] SI-8764 fix return type of case class productElement under Xexperimental
Under Xexperimental, productElement now returns the lub instead
of the weak lub of case class parameter types (numeric widening
shouldn't magically happen *inside* productElement).
This was removed from 2.12.x in 6317ae2.
Diffstat (limited to 'test/files/run/t8764.check')
-rw-r--r-- | test/files/run/t8764.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/t8764.check b/test/files/run/t8764.check new file mode 100644 index 0000000000..6260069602 --- /dev/null +++ b/test/files/run/t8764.check @@ -0,0 +1,5 @@ +IntOnly: should return an unboxed int +Int: int +IntAndDouble: should just box and return Anyval +Double: class java.lang.Double +Int: class java.lang.Integer |