Control flow: @for
and inline arrays with multiple lines
#52446
Labels
area: compiler
Issues related to `ngc`, Angular's template compiler
core: control flow
Issues related to the built-in control flow (@if, @for, @switch)
state: has PR
Milestone
Which @angular/* package(s) are the source of the bug?
compiler
Is this a regression?
No
Description
It is currently possible to use
ngFor
with inline arrays:The current migration properly works, but the generated code is not accepted by the compiler:
The compiler fails with the error below
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: