cleanup of some tests

This commit is contained in:
Araq 2015-11-30 00:21:58 +01:00
commit 0d8c762452
2 changed files with 5 additions and 5 deletions

View file

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