simple example works again

This commit is contained in:
Araq 2012-06-16 18:29:22 +02:00
commit 7b539c9e58
2 changed files with 32 additions and 14 deletions

View file

@ -23,14 +23,15 @@ when true:
proc bx =
if i > 10: return
i += 1
for j in 0 .. 0: echo i
#for j in 0 .. 0: echo i
bx()
bx()
echo i
ax()
when true:
when false:
proc accumulator(start: int): (proc(): int {.closure.}) =
var x = start-1
#let dummy = proc =