summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@typesafe.com>2016-02-10 21:40:08 +0100
committerLukas Rytz <lukas.rytz@typesafe.com>2016-02-10 21:40:08 +0100
commitaa18beccff3b2f2680575c02f30467be0a557f13 (patch)
tree014ffb8174f3165c6450f49283e47ba219e342da /test/files/run
parent78c378c97c51600cac1cf42edd050aceb2366026 (diff)
parente5517e67eea79fbbd886110ff6dc993842852cf8 (diff)
downloadscala-aa18beccff3b2f2680575c02f30467be0a557f13.tar.gz
scala-aa18beccff3b2f2680575c02f30467be0a557f13.tar.bz2
scala-aa18beccff3b2f2680575c02f30467be0a557f13.zip
Merge pull request #4924 from ShaneDelmore/SI-9452
SI-9452: Extend BigDecimal with Ordered for java interop
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/numbereq.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/run/numbereq.scala b/test/files/run/numbereq.scala
index 7ce4b23cf8..1f12d0643e 100644
--- a/test/files/run/numbereq.scala
+++ b/test/files/run/numbereq.scala
@@ -1,6 +1,7 @@
object Test {
def mkNumbers(x: Int): List[AnyRef] = {
- val base = List(
+ //Use explicit AnyRef to workaround known limitation of type inference with F-Bounds
+ val base = List[AnyRef](
BigDecimal(x),
BigInt(x),
new java.lang.Double(x.toDouble),