Skip to content

Commit e1a4223

Browse files
committed
merge with @helixbass's branch
1 parent 383efd4 commit e1a4223

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/assignment.coffee

+2-2
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ test "#5004: array destructuring with accessors", ->
687687
eq d, 'd'
688688
arrayEq obj.list.middle, ['a', 'b', 'c']
689689

690-
test "destructured object splat", ->
690+
test "#4884: destructured object splat", ->
691691
[{length}...] = [1, 2, 3]
692692
eq length, 3
693693
[{length: len}...] = [1, 2, 3]
@@ -707,7 +707,7 @@ test "destructured object splat", ->
707707
eq three, 3
708708
eq x[2], 3
709709

710-
test "destructured array splat", ->
710+
test "#4884: destructured array splat", ->
711711
[[one, two, three]...] = [1, 2, 3]
712712
eq one, 1
713713
eq two, 2

test/functions.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ test "destructured splatted parameters", ->
127127
splatArray = ([a ...]) -> a
128128
splatArrayRest = ([a ...],b ...) -> arrayEq(a,b); b
129129

130-
test "object-destructured splatted parameters", ->
130+
test "#4884: object-destructured splatted parameters", ->
131131
f = ({length}...) -> length
132132
eq f(4, 5, 6), 3
133133
f = ({length: len}...) -> len

0 commit comments

Comments
 (0)