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/macros | |
parent | 554a3e9335fddac4656a9313ab283ae0e4d14a9e (diff) | |
download | Nim-c9966a3e178bc5bc21684d3f4f65c8580227d2f4.tar.gz |
use 'using' instead of 'sig' keyword; cleans up new features a bit
Diffstat (limited to 'tests/macros')
-rw-r--r-- | tests/macros/tclosuremacro.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/macros/tclosuremacro.nim b/tests/macros/tclosuremacro.nim index cf51949ed..c29fbe1c8 100644 --- a/tests/macros/tclosuremacro.nim +++ b/tests/macros/tclosuremacro.nim @@ -26,7 +26,7 @@ proc noReturn(x: () -> void) = proc doWithOneAndTwo(f: (int, int) -> int): int = f(1,2) -echo twoParams(proc (a, b): auto = a + b) +echo twoParams(proc (a, b: auto): auto = a + b) echo twoParams((x, y) => x + y) echo oneParam(x => x+5) |