Created
December 1, 2013 12:48
-
-
Save achim/7733214 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iterator foo(): int {.closure.} = | |
yield 0 | |
for x in foo(): echo(x) | |
# output: | |
# | |
# ~/Dev $ ~/Dev/Nimrod/bin/nimrod c test | |
# config/nimrod.cfg(36, 2) Hint: added path: '/Users/achim/.babel/pkgs/babel-0.1.0' [Path] | |
# config/nimrod.cfg(36, 2) Hint: added path: '/Users/achim/.babel/pkgs/' [Path] | |
# Hint: used config file '/Users/achim/Dev/Nimrod/config/nimrod.cfg' [Conf] | |
# Hint: system [Processing] | |
# Hint: test [Processing] | |
# compilation artifact(-992, 645) Error: internal error: expr(196 (invalid data!)); unknown node kind | |
# No stack traceback available |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment