Skip to content

test: block-bodied C# explicit interface impl reaches its same-named method; #5628 oracle re-run (Part of #5628) - #5871

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5628-csharp-block-body
Oct 21, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5628-csharp-block-body

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5628 (leaves it open: see below).

What

Test only: a C# explicit interface implementation with a block body (IEnumerator IEnumerable.GetEnumerator() { return GetEnumerator(); }) reaches the class's GetEnumerator. Existing tests pinned only the => form; three of the four helion sites in the issue comment (VertexAllocator, ArchiveMapiterator, ConsoleCommands) are block-bodied. No engine change, so no golden bless.

Finding: the engine work for #5628 part 2 is already on main

#5698, #5788 and #5826 landed it. Re-checked on current main (691c4ef06) with fresh scans (doom_speedrun.py scan) and callgraph_oracle.py:

port qualified fns their same-leaf call kept oracle misses where leaf(caller) == callee
odamex 1734 171 0
eternity 900 99 0
doom3-bfg 11115 1465 0
doomsday 10086 1342 0
gzdoom 8004 1012 0

(issue table was 2 / 3 / 15 / 87 / 515). src/common/2d/v_draw.cpp:1511 _Screen::VirtualToRealCoords now lists VirtualToRealCoords. dsda-doom, linuxdoom, chocolate-doom: 0 before and after. Self-recursion stays dropped per the 2026-10-19 ruling (the oracle ignores self-edges).
Helion Font.cs:65, VertexAllocator.cs:130, ArchiveMapiterator.cs:95 and ConsoleCommands.cs:107 all keep the GetEnumerator edge (real files probed).

Overall oracle recall/precision (not part of this acceptance): linuxdoom 1.0000/1.0000, chocolate-doom 1.0000/1.0000, dsda-doom 0.9978/0.9992, odamex 0.9981/0.9673, eternity 0.9982/0.9769, doom3-bfg 0.9995/0.9772, doomsday 0.8780/0.9330, gzdoom 0.9865/0.9483.

Gates

pr_gates --fast 7/7. Ratchets not run (test-only). The two 5628 test files: 22 passed.

Class table

Scoped unit calling a same-named unit: C/C++ Scope::f -> free f (handled), C# explicit interface impl (handled, both bodies), bare-named method in Python/JS/TS/PHP/Rust (#5855), Go (#5855). Sibling gaps: none found by the oracle in the licensed C/C++ ports; no C# or other-language body oracle exists, so those languages are covered by unit tests only.

🤖 Generated with Claude Code

…e-named method (Part of #5628)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 21, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 21, 2026 13:53
@squid-protocol
squid-protocol enabled auto-merge (squash) October 21, 2026 14:00
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 1c6ed56 into main Oct 21, 2026
44 checks passed
@squid-protocol
squid-protocol deleted the churn/5628-csharp-block-body branch October 21, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant