Skip to content

fix(compiler): prevent usage of reserved control flow @ symbol in custom interpolation context for better parser failure#55809

Closed
bougwal wants to merge 1 commit intoangular:mainfrom
bougwal:fix/compiler-interpolation-assertion
Closed

fix(compiler): prevent usage of reserved control flow @ symbol in custom interpolation context for better parser failure#55809
bougwal wants to merge 1 commit intoangular:mainfrom
bougwal:fix/compiler-interpolation-assertion

Conversation

@bougwal
Copy link

@bougwal bougwal commented May 15, 2024

  • Fixes the issue where using a reserved control flow @ symbol in a custom interpolation context yields improper parser feedback.

@pullapprove pullapprove bot requested a review from devversion May 15, 2024 14:10
…m interpolation context.

* Fixes the issue where using a reserved control flow @ symbol in a custom interpolation context yields improper parser feedback.
@bougwal bougwal force-pushed the fix/compiler-interpolation-assertion branch from 7599e90 to 63b2524 Compare May 15, 2024 14:27
@devversion devversion requested a review from crisbeto May 15, 2024 16:30
@crisbeto
Copy link
Member

Given that the interpolation config is now deprecated, I'm not sure if we'd want to do this. cc @alxhub

@devversion
Copy link
Member

I was under impression it would be a temporary improvement that makes the situation more clear.

@bougwal
Copy link
Author

bougwal commented May 15, 2024

Hi Paul @devversion and Kristiyan @crisbeto , I opened the PR after Alex's confirmation here: #55772 (comment)

Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

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

LGTM, I hadn't seen this discussion.

@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker area: compiler Issues related to `ngc`, Angular's template compiler target: rc This PR is targeted for the next release-candidate labels May 15, 2024
@ngbot ngbot bot added this to the Backlog milestone May 15, 2024
@atscott
Copy link
Contributor

atscott commented May 16, 2024

This PR was merged into the repository by commit 2bb12ac.

atscott pushed a commit that referenced this pull request May 16, 2024
…m interpolation context. (#55809)

* Fixes the issue where using a reserved control flow @ symbol in a custom interpolation context yields improper parser feedback.

PR Close #55809
@atscott atscott closed this in 2bb12ac May 16, 2024
@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 Jun 16, 2024
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 target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compiler: Parser interpolation assertion failure after the introduction of new control flow @ symbol syntax

4 participants