first attempt at including 'yield*'

This commit is contained in:
Andreas Lubbe
2013-12-23 19:32:25 -08:00
parent dab4ae9416
commit 25b1eee293
5 changed files with 9 additions and 8 deletions

View File

@@ -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