version 0.7.6

This commit is contained in:
Andreas Rumpf 2009-04-22 16:12:19 +02:00
commit 08bc9ac03c
29 changed files with 5926 additions and 0 deletions

10
tests/titer2.nim Normal file
View file

@ -0,0 +1,10 @@
# Try to break the transformation pass:
iterator iterAndZero(a: var openArray[int]): int =
for i in 0..len(a)-1:
yield a[i]
a[i] = 0
var x = [[1, 2, 3], [4, 5, 6]]
for y in iterAndZero(x[0]): write(stdout, $y)
#OUT 123