fix some regressions caused by tyTypeDesc[tyNone]
This commit is contained in:
parent
c1c6b6e50e
commit
c1f1f84194
6 changed files with 39 additions and 32 deletions
|
|
@ -213,7 +213,6 @@ proc makeTypeDesc*(c: PContext, typ: PType): PType =
|
|||
|
||||
proc makeTypeSymNode*(c: PContext, typ: PType, info: TLineInfo): PNode =
|
||||
let typedesc = makeTypeDesc(c, typ)
|
||||
rawAddSon(typedesc, newTypeS(tyNone, c))
|
||||
let sym = newSym(skType, idAnon, getCurrOwner(), info).linkTo(typedesc)
|
||||
return newSymNode(sym, info)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue