remove duplicate assignment (#21050)
`newNodeIT` has already assigned `n.typ` to x.
This commit is contained in:
parent
f8e64d879c
commit
ef190f349d
1 changed files with 0 additions and 1 deletions
|
|
@ -68,7 +68,6 @@ proc newTransNode(kind: TNodeKind, n: PNode,
|
||||||
sons: int): PNode {.inline.} =
|
sons: int): PNode {.inline.} =
|
||||||
var x = newNodeIT(kind, n.info, n.typ)
|
var x = newNodeIT(kind, n.info, n.typ)
|
||||||
newSeq(x.sons, sons)
|
newSeq(x.sons, sons)
|
||||||
x.typ = n.typ
|
|
||||||
# x.flags = n.flags
|
# x.flags = n.flags
|
||||||
result = x
|
result = x
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue