Remove expr/stmt (#5857)
This commit is contained in:
parent
52ff244d5d
commit
000b8afd26
168 changed files with 497 additions and 529 deletions
|
|
@ -18,7 +18,7 @@ proc foo(T: typedesc[int or bool]): string =
|
|||
a = 10
|
||||
result = "int or bool " & ($a)
|
||||
|
||||
template foo(T: typedesc[seq]): expr = "seq"
|
||||
template foo(T: typedesc[seq]): string = "seq"
|
||||
|
||||
test "types can be used as proc params":
|
||||
# XXX: `check` needs to know that TFoo[int, float] is a type and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue