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 inside a for let #749

Closed
kkirby opened this issue Jul 8, 2015 · 2 comments
Closed

yield inside a for let #749

kkirby opened this issue Jul 8, 2015 · 2 comments
Labels

Comments

@kkirby
Copy link

kkirby commented Jul 8, 2015

Hello,

Again, I'm not sure if this is a feature request, bug, or just me learning things.

How do I yield inside of a for let statement?

->*
    a = for let a in [1,2,3]
        -> a
        yield abc()
@vendethiel
Copy link
Contributor

whoops... we don't generate the correct yield froms for closures yet.

@vendethiel vendethiel added the bug label Jul 8, 2015
@kkirby
Copy link
Author

kkirby commented Jul 8, 2015

No worries. I'm just glad that I found an issue instead of failing to do proper research.

gkz added a commit that referenced this issue Jul 8, 2015
@kkirby kkirby closed this as completed Jul 8, 2015
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