fixes #6682
This commit is contained in:
parent
2f17be9c22
commit
a6226d9452
4 changed files with 35 additions and 2 deletions
|
|
@ -1448,6 +1448,10 @@ proc rawAddSon*(father, son: PType) =
|
|||
add(father.sons, son)
|
||||
if not son.isNil: propagateToOwner(father, son)
|
||||
|
||||
proc rawAddSonNoPropagationOfTypeFlags*(father, son: PType) =
|
||||
if isNil(father.sons): father.sons = @[]
|
||||
add(father.sons, son)
|
||||
|
||||
proc addSonNilAllowed*(father, son: PNode) =
|
||||
if isNil(father.sons): father.sons = @[]
|
||||
add(father.sons, son)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue