parent
ff280c0127
commit
158d7c7a7a
1 changed files with 2 additions and 0 deletions
|
|
@ -333,6 +333,8 @@ proc getPotentialWrites(n: PNode; mutate: bool; result: var seq[PNode]) =
|
||||||
getPotentialWrites(n[1], mutate, result)
|
getPotentialWrites(n[1], mutate, result)
|
||||||
of nkAddr, nkHiddenAddr:
|
of nkAddr, nkHiddenAddr:
|
||||||
getPotentialWrites(n[0], true, result)
|
getPotentialWrites(n[0], true, result)
|
||||||
|
of nkBracketExpr, nkDotExpr, nkCheckedFieldExpr:
|
||||||
|
getPotentialWrites(n[0], mutate, result)
|
||||||
of nkCallKinds:
|
of nkCallKinds:
|
||||||
case n.getMagic:
|
case n.getMagic:
|
||||||
of mIncl, mExcl, mInc, mDec, mAppendStrCh, mAppendStrStr, mAppendSeqElem,
|
of mIncl, mExcl, mInc, mDec, mAppendStrCh, mAppendStrStr, mAppendSeqElem,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue