cleanup of some tests
This commit is contained in:
parent
217e0ab6e9
commit
0d8c762452
2 changed files with 5 additions and 5 deletions
|
|
@ -32,7 +32,7 @@ static: assert(f.y.type.name == "string")
|
|||
when compiles(f.z):
|
||||
{.error: "Foo should not have a `z` field".}
|
||||
|
||||
proc p(a, b) =
|
||||
proc p(a, b: auto) =
|
||||
when a.type is int:
|
||||
static: assert false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue