Repository navigation
call_resolver: bare f( in Scope::f reaches the free f, not recursion (Part of #5628) - #5788
Merged
Merged
Conversation
…ping as recursion (Part of #5628) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 20, 2026 22:17
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 20, 2026 22:21
Contributor
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5628 (part 3: the call_resolver gap left by #5698).
What
resolve_calls: a baref(insideScope::fresolved on theclassrung toScope::fitself and was dropped as recursion, so the resolvedfcall_dataedge to the freefwas missing even though the detector (#5698) kept the call. When a bare call (no qualifier / empty qualifier) resolves to the caller itself and a freefexists, it is now re-resolved through the free ladder.this->f/Scope::f(never reach the resolver (the detector drops them); true recursion is dropped by the detector, so nothing changes there.Files (2):
gitgalaxy/core/call_resolver.py(+14),tests/core_engine/test_call_resolver_scoped_same_name_5628.py.Class
Scope::f-> freef(same file)IEnumerable.GetEnumerator->GetEnumeratorScope::falone)this->f/Scope::f(fgaining an edge from a scoped namesakeEvidence
fcall_data46594 -> 46762 (+168);Scope::x -> xcall rows 363 -> 531, all with a resolved destination; 0 edges point at their own source. odamex unchanged (20311 both; 90 such rows). DOOM body oracle on this branch: odamex recall 0.9981 / precision 0.9673, gzdoom recall 0.9865 / precision 0.9483 (oracle scorescalls_out_to, ignores self-edges).crucible_check.py(both legs, golden-lock) PASS, zero diff, no bless. pr_gates--fast6/6,--ratchets8/8. 96 resolver/detector tests pass.Sibling gaps
fcalled fromScope::fin another file_drop_own_leaf_recursion); the resolver would resolve itScope::prefix; Python/Ruby/Java methods named by leaf)unparsed/statementoracle misses (261/165)Cross-repo: none.
🤖 Generated with Claude Code