inlining of 'var openarray' iterators now work

This commit is contained in:
Araq 2011-08-18 18:52:05 +02:00
commit 257b16ca34
3 changed files with 49 additions and 26 deletions

View file

@ -1,6 +1,6 @@
discard """
file: "titer2.nim"
msg: "internal error: not implemented: pass to var parameter"
output: "123"
"""
# Try to break the transformation pass:
iterator iterAndZero(a: var openArray[int]): int =