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

kkirby opened this Issue Jul 8, 2015 · 2 comments


None yet
2 participants
Copy link

kkirby commented Jul 8, 2015


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()

This comment has been minimized.

Copy link

vendethiel commented Jul 8, 2015

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

@vendethiel vendethiel added the bug label Jul 8, 2015


This comment has been minimized.

Copy link

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

Merge pull request #750 from kkirby/yield-inside-for-let
Fix for #749: Yield inside for let

@kkirby kkirby closed this Jul 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.