Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yield* is not working #73

Closed
arv opened this issue Jan 5, 2014 · 1 comment
Closed

yield* is not working #73

arv opened this issue Jan 5, 2014 · 1 comment
Labels

Comments

@arv
Copy link

arv commented Jan 5, 2014

The following code does not parse:

function* g() {
  yield 1;
  yield 2;
}

function* g2() {
  yield* g();
}
@benjamn
Copy link
Collaborator

benjamn commented Jan 6, 2014

This code works for me and is covered by the tests. If you still think there's a problem, please add a failing test and submit a pull request. Thanks!

@benjamn benjamn closed this as completed Jan 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants