set type for symbols from getType()
This commit is contained in:
parent
e80840c40a
commit
1ba785dd74
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ proc opSlurp*(file: string, info: TLineInfo, module: PSym): string =
|
|||
|
||||
proc atomicTypeX(name: string; t: PType; info: TLineInfo): PNode =
|
||||
let sym = newSym(skType, getIdent(name), t.owner, info)
|
||||
sym.typ = t
|
||||
result = newSymNode(sym)
|
||||
result.typ = t
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue