Skip to content

Fix delegate dependency closure in WinRT code generation - #88

Merged
leileizhang (lei9444) merged 3 commits into
mainfrom
fix/delegate-dependency-closure
Aug 10, 2026
Merged

leileizhang (lei9444) merged 3 commits into
mainfrom
fix/delegate-dependency-closure

Conversation

@lei9444

Copy link
Copy Markdown
Contributor

Summary

  • Collect delegate dependencies from the signatures actually referenced by each generated type instead of including every known delegate.
  • Recursively resolve delegates used by parameters, return values, arrays, parameterized types, async/progress operations, runtime-class default interfaces, and struct fields.
  • Apply the same dependency-closure logic to JavaScript generation, Python runtime generation, and Python stubs.
  • Add regression coverage for referenced, nested, unrelated, and delegate-free signatures.

leileizhang (lei9444) and others added 3 commits August 9, 2026 22:15
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 84688dea-d965-4933-a2d9-41f8f6ad2f2e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 84688dea-d965-4933-a2d9-41f8f6ad2f2e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 84688dea-d965-4933-a2d9-41f8f6ad2f2e
@lei9444
leileizhang (lei9444) merged commit fcb15e5 into main Aug 10, 2026
25 checks passed
@lei9444
leileizhang (lei9444) deleted the fix/delegate-dependency-closure branch August 10, 2026 04:10
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.

2 participants