Skip to content

fix(compiler): produce accurate span for typeof and void expressions#66189

Merged
kirjs merged 1 commit intoangular:mainfrom
crisbeto:66174/void-spans
Jan 7, 2026
Merged

fix(compiler): produce accurate span for typeof and void expressions#66189
kirjs merged 1 commit intoangular:mainfrom
crisbeto:66174/void-spans

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Dec 19, 2025

Fixes that the typeof and void expressions were starting their spans from the expression start, rather than the keyword.

Fixes #66174.

@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 19, 2025
@angular-robot angular-robot bot added the area: compiler Issues related to `ngc`, Angular's template compiler label Dec 19, 2025
Fixes that the `typeof` and `void` expressions were starting their spans from the expression start, rather than the keyword.

Fixes angular#66174.
@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 Jan 2, 2026
@ngbot ngbot bot added this to the Backlog milestone Jan 2, 2026
@kirjs kirjs merged commit 3a56c13 into angular:main Jan 7, 2026
20 checks passed
@kirjs
Copy link
Contributor

kirjs commented Jan 7, 2026

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.

Incorrect location information for typeof and void

3 participants