Files
angular/packages
Amine 54f3de517c fix(compiler): check @boundary blocks in the control flow content projection diagnostic
Like `@if`, `@for` and `@switch`, a `@boundary` block copies the tag name
and attributes of its single root node, so the node can be projected into a
specific `ng-content` slot. The `controlFlowPreventingContentProjection`
diagnostic (NG8011) didn't look at `@boundary` blocks though, so an element
next to a second root node was silently projected into the default slot.

`@error` blocks are left out on purpose: they don't copy the tag name and
attributes of their root node, so the diagnostic's suggestions wouldn't apply.

Fixes #71288
2026-10-14 13:04:31 -07:00
..
2025-11-06 10:03:05 -08:00
…
…
2026-01-07 12:28:34 -05:00
2025-11-06 10:03:05 -08:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT