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

@ -162,7 +162,7 @@ proc isLastRead(n: PNode; c: var Con; s: var Scope): bool =
proc isFirstWrite(n: PNode; c: var Con): bool =
let m = skipConvDfa(n)
result = nfFirstWrite2 in m.flags
result = nfFirstWrite in m.flags
proc isCursor(n: PNode): bool =
case n.kind