diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2022-10-05 11:50:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-05 11:50:16 +0200 |
commit | 9d858a29fc9776963cf1e7a2c706dceda45e662e (patch) | |
tree | e4f38ff39f459ccb29f51fc8be512c8fc671e6f1 /compiler/transf.nim | |
parent | 3e2b30879c31d386b5da0043f6a2604d9c0d7bb4 (diff) | |
download | Nim-9d858a29fc9776963cf1e7a2c706dceda45e662e.tar.gz |
cleanup nfFirstWrite flags (#20500)
Diffstat (limited to 'compiler/transf.nim')
-rw-r--r-- | compiler/transf.nim | 2 |
1 files changed, 1 insertions, 1 deletions
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 = |