remove duplicate assignment (#21050)

`newNodeIT` has already assigned `n.typ` to x.
This commit is contained in:
ringabout 2022-12-09 08:50:35 +08:00 • committed by GitHub
commit ef190f349d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,6 @@ proc newTransNode(kind: TNodeKind, n: PNode,
sons: int): PNode {.inline.} =
var x = newNodeIT(kind, n.info, n.typ)
newSeq(x.sons, sons)
x.typ = n.typ
# x.flags = n.flags
result = x