cleanup nfFirstWrite flags (#20500)
This commit is contained in:
parent
3e2b30879c
commit
9d858a29fc
5 changed files with 5 additions and 6 deletions
|
|
@ -218,7 +218,7 @@ proc initVar(a: PEffects, n: PNode; volatileCheck: bool) =
|
|||
run outside of the while loop. This is why we need the check here that
|
||||
the assignment is done in the same logical block as `x` was declared in.
|
||||
]#
|
||||
n.flags.incl nfFirstWrite2
|
||||
n.flags.incl nfFirstWrite
|
||||
|
||||
proc initVarViaNew(a: PEffects, n: PNode) =
|
||||
if n.kind != nkSym: return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue