angular/packages/compiler-cli/test/compliance/test_cases
Kristiyan Kostadinov 404c8d0d88 fix(compiler): incorrect context object being referenced from listener instructions inside embedded views (#42755)
Currently unless a listener inside of an embedded view tries to reference something from the parent view, or if the reference is a local ref, we don't generate the view restoration instructions and we allow for the value to be picked up from the context object in the function parameters. The problem is that the listener is only run during creation mode and the context object may have been swapped out afterwards.

These changes fix the issue by always generating the view restoration instructions for listeners inside templates.

Fixes #42698.

PR Close #42755
2021-07-12 11:58:18 -07:00
..
r3_compiler_compliance feat(compiler): support number separators in templates (#42672) 2021-06-30 10:36:15 -07:00
r3_view_compiler Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_bindings Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_di/di Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_directives/matching Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_i18n Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_input_outputs refactor(compiler-cli): change how partial-linkers are matched to declaration versions (#41578) 2021-04-14 11:00:40 -07:00
r3_view_compiler_listener fix(compiler): incorrect context object being referenced from listener instructions inside embedded views (#42755) 2021-07-12 11:58:18 -07:00
r3_view_compiler_providers refactor(compiler-cli): change how partial-linkers are matched to declaration versions (#41578) 2021-04-14 11:00:40 -07:00
r3_view_compiler_styling Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_template feat(compiler): add support for shorthand property declarations in templates (#42421) 2021-06-21 23:40:47 +00:00
source_mapping Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
BUILD.bazel test(compiler-cli): generate golden files for partial compilation (#39617) 2020-11-13 11:25:56 -08:00
list_golden_update_rules.ts refactor(compiler-cli): use semver range checking for partial versions (#39847) 2020-12-04 10:26:17 -08:00
test_case_schema.json test(compiler-cli): improve compliance test compile mode filtering (#39939) 2020-12-07 16:21:04 -08:00