parent
8fa2c0b532
commit
2f4900615a
2 changed files with 2 additions and 6 deletions
|
|
@ -2252,7 +2252,6 @@ proc setupMacroParam(x: PNode, typ: PType): TFullReg =
|
|||
else:
|
||||
var n = x
|
||||
if n.kind in {nkHiddenSubConv, nkHiddenStdConv}: n = n[1]
|
||||
n = n.canonValue
|
||||
n.flags.incl nfIsRef
|
||||
n.typ = x.typ
|
||||
result = TFullReg(kind: rkNode, node: n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue