70ad91ed8b
Currently the `RecursiveAstVisitor` that is part of the template expression parser does not _always_ properly pass through the context that can be specified when visting a given expression. Only a handful of AST types pass through the context while others are accidentally left out. This causes unexpected and inconsistent behavior and basically makes the `context` parameter not usable if the type of template expression is not known. e.g. the template variable assignment migration currently depends on the `RecursiveAstVisitor` but sometimes breaks if developers use things like conditionals in their template variable assignments. Fixes #31043 PR Close #31085 |
||
---|---|---|
.. | ||
google3 | ||
BUILD.bazel | ||
injectable_pipe_migration_spec.ts | ||
line_mappings_spec.ts | ||
move_document_migration_spec.ts | ||
project_tsconfig_paths_spec.ts | ||
static_queries_migration_template_spec.ts | ||
static_queries_migration_usage_spec.ts | ||
template_var_assignment_migration_spec.ts | ||
test-migrations.json |