inlining of 'var openarray' iterators now work
This commit is contained in:
parent
f8ac84f863
commit
257b16ca34
3 changed files with 49 additions and 26 deletions
|
|
@ -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 =
|
||||
Loading…
Add table
Add a link
Reference in a new issue