use 'using' instead of 'sig' keyword; cleans up new features a bit

This commit is contained in:
Andreas Rumpf 2016-02-29 12:19:54 +01:00
commit c9966a3e17
20 changed files with 109 additions and 74 deletions

View file

@ -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)