Skip to content

Fix Python decorator argument references - #2655

Merged
Widthdom merged 3 commits into
mainfrom
codex/fix-issue2055
May 24, 2026
Merged

Fix Python decorator argument references#2655
Widthdom merged 3 commits into
mainfrom
codex/fix-issue2055

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Capture callable symbols used inside Python parameterized decorators and composed decorator chains.
  • Avoid polluting call graph edges with non-call keyword configuration values while still recording callable keyword values.
  • Add regression coverage and a bilingual changelog fragment.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --filter "FullyQualifiedName~ReferenceExtractorTests"
  • dotnet build CodeIndex.sln -p:UseSharedCompilation=false
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll status --check --json
  • Adversarial review: two rounds completed; both actionable findings addressed.

Documentation / Changelog

  • Added changelog.d/unreleased/2055.fixed.md.

Follow-up Candidates

  • None.

Fixes #2055

@Widthdom
Widthdom marked this pull request as ready for review May 24, 2026 16:27
@Widthdom
Widthdom merged commit 59f4256 into main May 24, 2026
10 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue2055 branch May 24, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python stacked/composed decorators with arguments not extracted as distinct references

1 participant