fix(compiler-cli): account for more expression types when determining HMR dependencies by crisbeto · Pull Request #59323 · angular/angular · GitHub
Skip to content

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

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

crisbeto wants to merge 1 commit into
angular: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

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

@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