angular/packages/compiler-cli
Kristiyan Kostadinov c421ffdbfb fix(compiler): control flow nodes with root at the end projected incorrectly (#58607)
Fixes an edge case where a control flow node that has non-projectable nodes followed by an element node at the end would cause the entire control flow node to be project. For example if we have a projection target of `Main: <ng-content/> Slot: <ng-content select="[foo]"/>`, inserting a node of `@if (true) {Hello <span foo>world</span>}` would project the entire `Hello world` into the `[foo]` slot.

In the process of working on the issue, I also found that `@let` declarations at the root of the control flow node would prevent content projection as well.

PR Close #58607
2024-11-12 18:05:00 +00:00
..
integrationtest refactor(core): Migrate all packages with the explicit-standalone-flag schematic. (#58160) 2024-10-14 14:58:57 +00:00
linker build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:05 -07:00
ngcc refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
private refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
src fix(compiler-cli): report individual diagnostics for unused imports (#58589) 2024-11-11 15:31:00 +00:00
test fix(compiler): control flow nodes with root at the end projected incorrectly (#58607) 2024-11-12 18:05:00 +00:00
BUILD.bazel refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
esbuild.config.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
index.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
package.json build: update babel dependencies (#58499) 2024-11-06 06:59:44 +01: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