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

Defer statement at the end of a block produces ICE #3186

Closed
yglukhov opened this issue Aug 6, 2015 · 0 comments
Closed

Defer statement at the end of a block produces ICE #3186

yglukhov opened this issue Aug 6, 2015 · 0 comments

Comments

@yglukhov
Copy link
Member

yglukhov commented Aug 6, 2015

block:
    defer:
        echo "hi"
test1.nim(2, 5) Error: internal error: expr(nkDefer); unknown node kind
yglukhov added a commit to yglukhov/Nim that referenced this issue Aug 6, 2015
yglukhov added a commit to yglukhov/Nim that referenced this issue Aug 7, 2015
@Araq Araq closed this as completed in 7bc3d7d Aug 7, 2015
Araq added a commit that referenced this issue Aug 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant