Skip to content

fix(compiler-cli): Produce correct tcb expression for optional chaining - #70232

Open
JeanMeche wants to merge 1 commit into
angular:mainfrom
JeanMeche:tcb-optional-chaining-fix2
Open

fix(compiler-cli): Produce correct tcb expression for optional chaining#70232
JeanMeche wants to merge 1 commit into
angular:mainfrom
JeanMeche:tcb-optional-chaining-fix2

Conversation

@JeanMeche

Copy link
Copy Markdown
Member

The semantics of optional chaining changes when there are extra parenthesis. We need to make sure that we do not introduce some unnecessary ones.

fixes #70143

The semantics of optional chaining changes when there are extra parenthesis. We need to make sure that we do not introduce some unnecessary ones.

fixes angular#70143
@JeanMeche
JeanMeche requested review from JoostK and atscott August 17, 2026 07:39
@angular-robot angular-robot Bot added the area: compiler Issues related to `ngc`, Angular's template compiler label Aug 17, 2026
@ngbot ngbot Bot added this to the Backlog milestone Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: compiler Issues related to `ngc`, Angular's template compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optional chaining in template should short-circuit

1 participant