From 9d858a29fc9776963cf1e7a2c706dceda45e662e Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 5 Oct 2022 11:50:16 +0200 Subject: cleanup nfFirstWrite flags (#20500) --- compiler/transf.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/transf.nim') diff --git a/compiler/transf.nim b/compiler/transf.nim index 5517eeace..be7e43c49 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -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 = -- cgit 1.4.1-2-gfad0