diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-02-29 12:19:54 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-02-29 12:19:54 +0100 |
commit | c9966a3e178bc5bc21684d3f4f65c8580227d2f4 (patch) | |
tree | 577e3591910d082265e623830f6a269c58340411 /tests/template/tit.nim | |
parent | 554a3e9335fddac4656a9313ab283ae0e4d14a9e (diff) | |
download | Nim-c9966a3e178bc5bc21684d3f4f65c8580227d2f4.tar.gz |
use 'using' instead of 'sig' keyword; cleans up new features a bit
Diffstat (limited to 'tests/template/tit.nim')
-rw-r--r-- | tests/template/tit.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/tit.nim b/tests/template/tit.nim index 9866711de..cf50d2f6f 100644 --- a/tests/template/tit.nim +++ b/tests/template/tit.nim @@ -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) |