Repository navigation
call graph: Scope::f bare f( reaches a free f in another file (Part of #5628) - #5826
Conversation
…it reaches a free f in another file (Part of #5628) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ecorded it; re-bless goldens (Part of #5628) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5826 @ 5c1a308: 1 failed check(s) == Call resolution (Level 2, vs pyan3) (failure) -- real |
|
No description provided. |
Part of #5628 (slice 2 of 2). Slice 1: #5698, #5788.
What
Scope::fcalling a baref(whose freeflives in another file was dropped by the detector (it could only see the same file). Now the detector keeps the bare own-leaf call (this->f(/Scope::f(still dropped), andcall_resolver.resolve_callsdecides with whole-repo knowledge: a freeffound -> the edge; the call resolves only to the unit itself -> dropped as recursion and pruned fromcalls_out_to(#3327 contract kept). Removed_drop_own_leaf_recursionand its candidate collection.Prune applies only where the detector recorded the bare qualifier (
calls_out_qualifiers[f] == [""], the qualified-call languages): without that, shellkube::release::md5calling themd5binary was wrongly pruned (caught in the first golden run).Class
Bare own-leaf call from a scoped unit: same-file free f (slice 1), cross-file free f (this PR), C# explicit interface impl (covered, same mechanism), overload sibling in same class (
addControlFieldNodein NVDA: now an edge, a real call, not recursion), no namesake anywhere (still recursion, test),Other::f(not reachable by bare name, test), receiver/this->/Scope::(unchanged).Golden
Re-blessed via golden-lock. Attributed drift: NVDA
storage.cppVBufStorage_buffer_t::addControlFieldNodegains its call to the other overload (fan-out/fan-in/PageRank); godotnode.cpp/variant.cppand roslynLanguageParser.csgain edges (PageRank, fan-in). Other languages (python, go, cobol, tcl, ts, zig, fortran, scheme, livecode) move only in PageRank's last digit (global renormalisation from the added cpp/C# edges); no calls/fan columns change outside cpp/csharp.Gates
pr_gates --fast7/7,--ratchets8/8,audit_checkclear, tree-wide guards + new tests pass. DOOM-corpus oracle counts not re-run in this PR.Sibling gaps
Leaf-named-language probe (not here: different mechanism).
🤖 Generated with Claude Code