Skip to content

Make generated code compile (patch branch)#67685

Merged
mattrbeck merged 4 commits intoangular:21.2.xfrom
mattrbeck:instruction-types
Mar 13, 2026
Merged

Make generated code compile (patch branch)#67685
mattrbeck merged 4 commits intoangular:21.2.xfrom
mattrbeck:instruction-types

Conversation

@mattrbeck
Copy link
Member

Cherry-pick of #67568 to merge to the patch branch.

Updates the type factories and various usage sites to add a generic for type nodes.
Updates the translator and AST factories to account for type nodes.
Updates the Babel and TypeScript AST factories to account to produce type nodes.
Initial pass to make sure some common cases produce code that compiles.
@mattrbeck mattrbeck requested a review from crisbeto March 13, 2026 18:35
@mattrbeck mattrbeck added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Mar 13, 2026
@angular-robot angular-robot bot added the area: compiler Issues related to `ngc`, Angular's template compiler label Mar 13, 2026
@ngbot ngbot bot added this to the Backlog milestone Mar 13, 2026
@mattrbeck mattrbeck changed the title Instruction types Make generated code compile (patch branch) Mar 13, 2026
@mattrbeck mattrbeck merged commit 334ae10 into angular:21.2.x Mar 13, 2026
24 checks passed
@mattrbeck
Copy link
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: compiler Issues related to `ngc`, Angular's template compiler target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants