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/casestmt | |
parent | 554a3e9335fddac4656a9313ab283ae0e4d14a9e (diff) | |
download | Nim-c9966a3e178bc5bc21684d3f4f65c8580227d2f4.tar.gz |
use 'using' instead of 'sig' keyword; cleans up new features a bit
Diffstat (limited to 'tests/casestmt')
-rw-r--r-- | tests/casestmt/tcaseexpr1.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/casestmt/tcaseexpr1.nim b/tests/casestmt/tcaseexpr1.nim index e5e08e25e..56acbbc8a 100644 --- a/tests/casestmt/tcaseexpr1.nim +++ b/tests/casestmt/tcaseexpr1.nim @@ -11,7 +11,7 @@ discard """ type E = enum A, B, C -proc foo(x): auto = +proc foo(x: int): auto = return case x of 1..9: "digit" else: "number" |