c79d50f38f
Previously, due to a bug a `Context` with `isStatement: false` could be returned in places where a `Context` with `isStatement: true` was requested. As a result, some statements would be unnecessarily wrapped in parenthesis. This commit fixes the bug in `Context#withStatementMode` to always return a `Context` with the correct `isStatement` value. Note that this does not have any impact on the generated code other than avoiding some superfluous parenthesis on certain statements. PR Close #33514 |
||
---|---|---|
.. | ||
fake_core | ||
BUILD.bazel | ||
component_indexing_spec.ts | ||
env.ts | ||
incremental_spec.ts | ||
ngtsc_spec.ts | ||
scope_spec.ts | ||
sourcemap_utils.ts | ||
template_mapping_spec.ts | ||
template_typecheck_spec.ts |