You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fb4b8a4
Browse filesBrowse the repository at this point in the historyBrowse files
fix(javascript): classify member assignment targets as property writes
Member expressions that are the target of a destructuring assignment,
a for...of or for...in head, or a delete expression were recorded as
property reads because the object collector only recognized a direct
assignment or update parent. The semantic graph then projected a false
reads-property relation and no write occurrence for these forms.
Classify a member from its owning write site instead: the collector
records the written member leaves when it enters a write site, using the
existing semanticWriteTargets walker. The set of write-site constructs
now lives in one exported helper, semanticWriteSiteTarget, shared with
the member-mutation analysis that already treated these forms as writes.
Fixes#2567
Co-Authored-By: Claude Fable 5.1 <[email protected]>
0 commit comments