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
C# parser: local-function calls are attributed to the outer method #1790
The JSON retains every input, expected assertion, actual output and grammar recovery status. LF, CRLF, Unicode comment padding, dependency/source mode, repeat parsing and pre-scan are checked.
Triage correction: C# records are already emitted in the dedicated records bucket, as intended. That initial oracle mismatch has been removed; the local-function ownership defect below is confirmed.
Expected: function_calls["Helper"].context.0 must equal "Inner".
Actual: [{"name":"Helper","line_number":1,"args":[],"context":["Outer","method_declaration",1],"class_context":["S",1]}].
Acceptance criteria
Preserve the missing declarations/dependencies and correct ownership shown above without adding false symbols or edges.
Add regression tests for these examples, including negative controls and source locations where relevant.
Keep existing parser and resolution tests passing; verify pre-scan agrees with parsing for affected declarations.
Audit scope: 27 registry entries, 205 semantic fixtures in five input/state variants, resilience inputs, pre-scan checks, and 29 build/mapper fixtures. Syntax recovery alone is not used as evidence for the valid-source findings here.
Fix and focused regressions: #1812. The audit report indexes all consolidated language issues and validation results.
changed the title [-]C# parser: record types are omitted and local-function calls use the outer owner[/-][+]C# parser: local-function calls are attributed to the outer method[/+]on Oct 17, 2026
Activity
github-actions commentedon Oct 17, 2026
Hi! 👋 Join our CodeGraphContext Discord channel to collaborate: https://discord.gg/dR4QY32uYQ
[-]C# parser: record types are omitted and local-function calls use the outer owner[/-][+]C# parser: local-function calls are attributed to the outer method[/+]