Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(syntaxes): Use expression.ng instead of JS for block expressions #1960

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

atscott
Copy link
Collaborator

@atscott atscott commented Nov 8, 2023

JS syntax has certain expectations for statements that do not hold true inside Angular template expressions. A missing trailing ; in a variable assignment in a for expression will cause the javascript to never terminate. This commit updates the expression to use expression.ng instead.

fixes #1957

JS syntax has certain expectations for statements that do not hold true
inside Angular template expressions. A missing trailing `;` in a
variable assignment in a `for` expression will cause the javascript to
never terminate. This commit updates the expression to use
`expression.ng` instead.

fixes angular#1957
@atscott atscott added target: minor This PR is targeted for the next minor release action: merge Ready to merge labels Nov 8, 2023
@atscott atscott merged commit e17fc5c into angular:main Nov 8, 2023
5 checks passed
@angular-automatic-lock-bot
Copy link

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 Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge Ready to merge target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syntax coloring in components screwed up in 17.0.0 release
2 participants