Skip to content

fix(compiler): incorrect spans for left side of binary operation#62641

Closed
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:62617/binary-spans
Closed

fix(compiler): incorrect spans for left side of binary operation#62641
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:62617/binary-spans

Conversation

@crisbeto
Copy link
Copy Markdown
Member

Fixes that the span for the left side of a Binary AST included the range up to and including the operator.

Fixes #62617.

@crisbeto crisbeto added target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 15, 2025
@angular-robot angular-robot bot added the area: compiler Issues related to `ngc`, Angular's template compiler label Jul 15, 2025
@ngbot ngbot bot added this to the Backlog milestone Jul 15, 2025
Fixes that the span for the `left` side of a `Binary` AST included the range up to and including the operator.

Fixes angular#62617.
@crisbeto crisbeto force-pushed the 62617/binary-spans branch from 4867ecd to 1a693b1 Compare July 15, 2025 09:16
@crisbeto crisbeto 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 Jul 15, 2025
@AndrewKushnir
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit a1e3f2b.

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

AndrewKushnir pushed a commit that referenced this pull request Jul 15, 2025
)

Fixes that the span for the `left` side of a `Binary` AST included the range up to and including the operator.

Fixes #62617.

PR Close #62641
@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 Aug 15, 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 target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong location information when parsing a[b]=1

3 participants