Skip to content

fix(compiler-cli): account for more expression types when determining HMR dependencies#59323

Closed
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:59310/expression-checks
Closed

fix(compiler-cli): account for more expression types when determining HMR dependencies#59323
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:59310/expression-checks

Conversation

@crisbeto
Copy link
Copy Markdown
Member

During the HMR dependency analysis we need to check if an identifier is top-level or not. We do this by looking at each identifier and its parent, however we didn't account for some cases. These changes expand our logic to cover more of the common node types.

Related to #59310 (comment).

… HMR dependencies

During the HMR dependency analysis we need to check if an identifier is top-level or not. We do this by looking at each identifier and its parent, however we didn't account for some cases. These changes expand our logic to cover more of the common node types.

Related to angular#59310 (comment).
@crisbeto crisbeto added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Dec 28, 2024
@AndrewKushnir AndrewKushnir added core: hot module replacement (HMR) and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Dec 29, 2024
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Dec 29, 2024
@thePunderWoman thePunderWoman added the area: compiler Issues related to `ngc`, Angular's template compiler label Jan 6, 2025
@ngbot ngbot bot added this to the Backlog milestone Jan 6, 2025
thePunderWoman pushed a commit that referenced this pull request Jan 6, 2025
… HMR dependencies (#59323)

During the HMR dependency analysis we need to check if an identifier is top-level or not. We do this by looking at each identifier and its parent, however we didn't account for some cases. These changes expand our logic to cover more of the common node types.

Related to #59310 (comment).

PR Close #59323
@thePunderWoman
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit ce3b664.

The changes were merged into the following branches: main, 19.0.x

PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
… HMR dependencies (angular#59323)

During the HMR dependency analysis we need to check if an identifier is top-level or not. We do this by looking at each identifier and its parent, however we didn't account for some cases. These changes expand our logic to cover more of the common node types.

Related to angular#59310 (comment).

PR Close angular#59323
@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 Feb 13, 2025
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 area: compiler Issues related to `ngc`, Angular's template compiler core: hot module replacement (HMR) target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants