idetools improvements

This commit is contained in:
Araq 2012-08-03 17:33:44 +02:00
commit 79aaf213d6
10 changed files with 53 additions and 35 deletions

View file

@ -228,7 +228,7 @@ proc newTypeS(kind: TTypeKind, c: PContext): PType =
proc errorType*(c: PContext): PType =
## creates a type representing an error state
result = newTypeS(tyEmpty, c)
result = newTypeS(tyError, c)
proc fillTypeS(dest: PType, kind: TTypeKind, c: PContext) =
dest.kind = kind