mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-01-25 14:48:18 -05:00
first attempt at including 'yield*'
This commit is contained in:
@@ -11,7 +11,8 @@ test "generator definition", ->
|
||||
yield 0
|
||||
yield 1
|
||||
yield 2
|
||||
y = x()
|
||||
y = do ->*
|
||||
yield* x()
|
||||
z = y.next()
|
||||
eq z.value, 0
|
||||
eq z.done, false
|
||||
|
||||
Reference in New Issue
Block a user