angular/packages/compiler-cli/test/compliance/test_cases
Kristiyan Kostadinov 2a1291e942 fix(compiler): give precedence to local let declarations over parent ones (#56752)
Currently the logic that maps a name to a variable looks at the variables in their definition order. This means that `@let` declarations from parent views will always come before local ones, because the local ones are declared inline whereas the parent ones are hoisted to the top of the function.

These changes resolve the issue by giving precedence to the local variables.

Fixes #56737.

PR Close #56752
2024-07-01 14:03:57 +00:00
..
model_inputs build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
output_function build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_compiler_compliance build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_bindings build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_control_flow build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_deferred build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07: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 build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_i18n build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_input_outputs fix(compiler): output input flags as a literal (#55215) 2024-04-04 11:13:52 -07:00
r3_view_compiler_let fix(compiler): give precedence to local let declarations over parent ones (#56752) 2024-07-01 14:03:57 +00:00
r3_view_compiler_listener build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -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 build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
r3_view_compiler_template build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
signal_inputs build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
signal_queries build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
source_mapping build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07: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
replace.sh refactor(compiler): Delete TemplateDefinitionBuilder acceptance test expectations (#54757) 2024-03-08 16:51:01 -08:00
test_case_schema.json refactor(compiler): Delete TemplateDefinitionBuilder acceptance test expectations (#54757) 2024-03-08 16:51:01 -08:00