bugfix: implicit items/pairs work better
This commit is contained in:
parent
0d19de18cc
commit
9483606d5b
3 changed files with 16 additions and 4 deletions
12
tests/compile/tcolonisproc.nim
Normal file
12
tests/compile/tcolonisproc.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
proc p(a, b: int, c: proc ()) =
|
||||
c()
|
||||
|
||||
|
||||
p(1, 3):
|
||||
echo 1
|
||||
echo 3
|
||||
|
||||
p(1, 1, proc() =
|
||||
echo 1
|
||||
echo 2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue