angular/packages/compiler-cli
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
..
integrationtest fix(core): link errors to ADEV (#55554) (#56038) 2024-05-28 12:50:53 +02:00
linker feat(core): add support for let syntax (#56715) 2024-06-26 12:37:02 -07:00
ngcc refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
private refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
src fix(compiler-cli): flag all conflicts between let declarations and local symbols (#56752) 2024-07-01 14:03:57 +00:00
test fix(compiler): give precedence to local let declarations over parent ones (#56752) 2024-07-01 14:03:57 +00:00
BUILD.bazel refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
esbuild.config.js refactor: migrate compiler-cli to prettier formatting (#55485) 2024-04-29 10:25:43 -07:00
index.ts refactor(compiler-cli): support extracting initializer API functions (#54925) 2024-03-26 09:17:20 -07:00
package.json build: update babel dependencies to v7.24.7 (#56373) 2024-06-12 13:11:12 -07:00
tsconfig-build.json refactor(compiler-cli): dismantle View Engine implementation of ngc (#44269) 2021-12-01 10:36:30 -08:00
tsconfig.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00