idetools improvements
This commit is contained in:
parent
12bc0419da
commit
79aaf213d6
10 changed files with 53 additions and 35 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue