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

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