Skip to content

fix(compiler): include used components during JIT compilation of partial component declaration#41353

Closed
JoostK wants to merge 1 commit intoangular:masterfrom
JoostK:linker/fix-jit-components
Closed

fix(compiler): include used components during JIT compilation of partial component declaration#41353
JoostK wants to merge 1 commit intoangular:masterfrom
JoostK:linker/fix-jit-components

Conversation

@JoostK
Copy link
Copy Markdown
Member

@JoostK JoostK commented Mar 26, 2021

In #41104 the list of used directives was split into two arrays of used
directives and components, but the JIT side was not updated. This commit
fixes the JIT integration by including the list of used components.

Fixes #41318


This is only targeting major as partial declarations are not supported in v11.

@JoostK JoostK added target: major This PR is targeted for the next major release P2 The issue is important to a large percentage of users, with a workaround compiler: linker labels Mar 26, 2021
@google-cla google-cla bot added the cla: yes label Mar 26, 2021
@JoostK JoostK marked this pull request as ready for review March 30, 2021 20:57
@JoostK JoostK added the action: review The PR is still awaiting reviews from at least one requested reviewer label Mar 30, 2021
@pullapprove pullapprove bot requested a review from atscott March 30, 2021 20:57
@JoostK JoostK requested a review from petebacondarwin March 30, 2021 20:58
@JoostK JoostK force-pushed the linker/fix-jit-components branch from d0c8669 to 10fa200 Compare March 30, 2021 23:04
Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - other than the conflict.

…ial component declaration

In angular#41104 the list of used directives was split into two arrays of used
directives and components, but the JIT side was not updated. This commit
fixes the JIT integration by including the list of used components.

Fixes angular#41318
@JoostK JoostK force-pushed the linker/fix-jit-components branch from 10fa200 to 2909f3f Compare March 31, 2021 16:21
@atscott
Copy link
Copy Markdown
Contributor

atscott commented Mar 31, 2021

presubmit

@JoostK JoostK added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 31, 2021
@alxhub alxhub closed this in ff9470b Apr 1, 2021
TeriGlover pushed a commit to TeriGlover/angular that referenced this pull request Apr 5, 2021
…ial component declaration (angular#41353)

In angular#41104 the list of used directives was split into two arrays of used
directives and components, but the JIT side was not updated. This commit
fixes the JIT integration by including the list of used components.

Fixes angular#41318

PR Close angular#41353
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes compiler: linker P2 The issue is important to a large percentage of users, with a workaround target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

linker: JIT compilation of ngDeclareComponent does not handle components array

4 participants