angular/packages/compiler-cli/test
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
..
compliance fix(compiler): give precedence to local let declarations over parent ones (#56752) 2024-07-01 14:03:57 +00:00
ngtsc fix(compiler-cli): flag all conflicts between let declarations and local symbols (#56752) 2024-07-01 14:03:57 +00:00
BUILD.bazel fix(compiler-cli): identify aliased initializer functions (#54609) 2024-02-26 18:27:15 -08:00
downlevel_decorators_transform_spec.ts refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
extract_i18n_spec.ts refactor(compiler): add handler attribute to XMB output (#54865) 2024-04-29 11:56:31 -07:00
initializer_api_transforms_spec.ts refactor(compiler-cli): support running JIT transforms as part of tsickle emit (#56520) 2024-06-27 15:55:18 +00:00
mocks.ts refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
perform_compile_spec.ts refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
perform_watch_spec.ts refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
signal_queries_metadata_transform_spec.ts refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
test_support.ts refactor(core): clean up clang comments and workarounds (#55750) 2024-05-13 11:10:36 -07:00
typescript_support_spec.ts refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
version_helpers_spec.ts refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00