We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba50f9e commit 47444bfCopy full SHA for 47444bf
test/arrays.coffee
@@ -76,6 +76,8 @@ test "#4260: splat after existential operator soak", ->
76
arrayEq [...c?.b], []
77
78
# Should not trigger implicit call, e.g. rest ... => rest(...)
79
+ arrayEq [... a?.b], [3]
80
+ arrayEq [... c?.b], []
81
arrayEq [a?.b ...], [3]
82
arrayEq [c?.b ...], []
83
@@ -89,6 +91,8 @@ test "#1349: trailing if after splat", ->
89
91
arrayEq [...a if c], []
90
92
93
94
+ arrayEq [... a if b], [3]
95
+ arrayEq [... a if c], []
96
arrayEq [a if b ...], [3]
97
arrayEq [a if c ...], []
98
0 commit comments