fixes 'newSeq[T]' instantiation bug
This commit is contained in:
parent
c3adc19f47
commit
dbc8aa60e3
5 changed files with 27 additions and 11 deletions
|
|
@ -2931,7 +2931,7 @@ parameters of an outer factory proc:
|
|||
yield x
|
||||
inc x
|
||||
|
||||
let foo = mycount 1, 4
|
||||
let foo = mycount(1, 4)
|
||||
|
||||
for f in foo():
|
||||
echo f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue