cleaned up some tests

This commit is contained in:
Araq 2015-02-09 12:42:00 +01:00
commit 247af96b00
25 changed files with 19 additions and 8 deletions

View file

@ -221,6 +221,7 @@ proc makeTypeSymNode*(c: PContext, typ: PType, info: TLineInfo): PNode =
proc makeTypeFromExpr*(c: PContext, n: PNode): PType =
result = newTypeS(tyFromExpr, c)
assert n != nil
result.n = n
proc newTypeWithSons*(c: PContext, kind: TTypeKind,