angular/packages/compiler-cli/test/compliance/test_cases
Kristiyan Kostadinov 2b7bad5151 fix(compiler): invoke method-based tracking function with context (#54960)
Previously we assumed that if a `for` loop tracking function is in the form of `someMethod($index, $item)`, it will be pure so we didn't pass the parameter to bind the context to it. This appears to be risky, because we don't know if the method is trying to access `this`.

These changes play it safe by always binding method-based tracking functions.

Fixes #53628.

PR Close #54960
2024-03-21 22:08:41 -07:00
..
model_inputs refactor(compiler-cli): add tests for model inputs (#54252) 2024-02-07 16:36:08 +00:00
output_function test: add compliance generated output tests for output() (#54650) 2024-03-06 12:34:38 +01:00
r3_compiler_compliance test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
r3_view_compiler fix(compiler): generate less code for advance instructions (#53845) 2024-01-09 12:27:58 -08:00
r3_view_compiler_bindings refactor(compiler): update ordering in template pipeline (#54154) 2024-02-01 14:39:32 +00:00
r3_view_compiler_control_flow fix(compiler): invoke method-based tracking function with context (#54960) 2024-03-21 22:08:41 -07:00
r3_view_compiler_deferred fix(compiler-cli): use correct symbol name for default imported symbols in defer blocks (#54495) 2024-02-20 09:45:32 -08:00
r3_view_compiler_di/di perf(compiler): further reduce bundle size using arrow functions (#52010) 2023-10-04 07:25:54 -07:00
r3_view_compiler_directives test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
r3_view_compiler_i18n fix(compiler-cli): do not error due to multiple components named equally (#54273) 2024-02-06 17:33:23 +00:00
r3_view_compiler_input_outputs test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
r3_view_compiler_listener fix(compiler): capture data bindings for content projection purposes in blocks (#54876) 2024-03-15 15:11:19 -07:00
r3_view_compiler_providers fix(compiler-cli): libraries compiled with v16.1+ breaking with Angular framework v16.0.x (#50714) 2023-06-14 16:27:59 +02:00
r3_view_compiler_styling fix(compiler): generate less code for advance instructions (#53845) 2024-01-09 12:27:58 -08:00
r3_view_compiler_template fix(compiler): generate less code for advance instructions (#53845) 2024-01-09 12:27:58 -08:00
signal_inputs refactor(core): separate InputSignal and InputSignalWithTransform (#54053) 2024-01-26 19:10:56 +00:00
signal_queries test: replace fake_core with real @angular/core output (#54650) 2024-03-06 12:34:38 +01:00
source_mapping refactor(compiler): Fix a source maps i18n test for Template Pipeline (#54063) 2024-02-02 20:52:39 +00:00
BUILD.bazel test: refactor compiler-cli compliance test to work on windows (#45431) 2022-03-25 12:18:34 -07: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): allow alternate expected file for template pipeline (#51100) 2023-08-01 13:45:34 -07:00