cleanup nfFirstWrite flags (#20500)

This commit is contained in:
Andreas Rumpf 2022-10-05 11:50:16 +02:00 • committed by GitHub
commit 9d858a29fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 6 deletions

View file

@ -107,7 +107,7 @@ proc newAsgnStmt(c: PTransf, kind: TNodeKind, le: PNode, ri: PNode; isFirstWrite
result = newTransNode(kind, ri.info, 2)
result[0] = le
if isFirstWrite:
le.flags.incl nfFirstWrite2
le.flags.incl nfFirstWrite
result[1] = ri
proc transformSymAux(c: PTransf, n: PNode): PNode =