angular-docs-cn/packages/core/schematics/test
Paul Gschwendtner 70ad91ed8b refactor(compiler): recursive ast expression visitor not passing context (#31085)
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
2019-06-20 11:12:16 -07:00
..
google3 fix(ivy): injectable pipe schematic generating incorrect import statements (#30170) 2019-04-29 09:39:11 -07:00
BUILD.bazel build: update rules_nodejs and clean up bazel warnings (#30370) 2019-05-14 10:08:45 -07:00
injectable_pipe_migration_spec.ts test: resotre "async" around tests where "await" is used (#30762) 2019-05-30 23:14:16 -07:00
line_mappings_spec.ts feat(core): template-var-assignment update schematic (#29608) 2019-04-02 15:47:32 -07:00
move_document_migration_spec.ts test: resotre "async" around tests where "await" is used (#30762) 2019-05-30 23:14:16 -07:00
project_tsconfig_paths_spec.ts refactor(core): migrations should parse cli workspace config as json5 (#30582) 2019-05-21 17:26:22 -07:00
static_queries_migration_template_spec.ts fix(core): TypeScript related migrations should cater for BOM (#30719) 2019-05-30 20:48:45 -07:00
static_queries_migration_usage_spec.ts fix(core): TypeScript related migrations should cater for BOM (#30719) 2019-05-30 20:48:45 -07:00
template_var_assignment_migration_spec.ts refactor(compiler): recursive ast expression visitor not passing context (#31085) 2019-06-20 11:12:16 -07:00
test-migrations.json test(core): run schematic tests with public migration collection (#30198) 2019-05-08 09:23:28 -07:00