Skip to content

Commit 52495cf

Browse files
committed
fix: make spreads uniform between JVM and JS
1 parent 69a9094 commit 52495cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/run/spreads.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ one
1010
one-two-three
1111
two
1212
ArraySeq(1, 1, 2, 3, 2)
13-
13.0
13+
13.5

tests/run/spreads.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def useInt(xs: Int*) = ???
3737

3838
// Tests for harmonization with varargs
3939

40-
val darr: Array[Double] = Array(1.0, 2)
40+
val darr: Array[Double] = Array(1.5, 2)
4141
val zs1 = Array(1, darr*, 2, darr*, 3)
4242
val _: Array[Double] = zs1
4343
val d: Double = 4

0 commit comments

Comments
 (0)