Skip to content

Commit 27730da

Browse files
committed
add test case for do + spread + existential
1 parent fb931c0 commit 27730da

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/operator.ls

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,11 @@ loaders =
273273
x = do ...loaders{a, b, ...more}
274274
deep-equal {a: 1 b: 2 c: 3 d: 4} x
275275

276+
f = null
277+
g = -> 1
278+
x = do ...[f?, g?]
279+
deep-equal [void 1] x
280+
276281

277282
### `import`
278283
x = 'xx'

0 commit comments

Comments
 (0)