use 'using' instead of 'sig' keyword; cleans up new features a bit
This commit is contained in:
parent
554a3e9335
commit
c9966a3e17
20 changed files with 109 additions and 74 deletions
|
|
@ -5,7 +5,7 @@ template someIt(a, pred: expr): expr =
|
|||
var it {.inject.} = 0
|
||||
pred
|
||||
|
||||
proc aProc(n) =
|
||||
proc aProc(n: auto) =
|
||||
n.someIt(echo(it))
|
||||
|
||||
aProc(89)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue