Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
Yes
Description
With the new control flow syntax, nested inner for loops will overwrite the value of even/odd variables stored in the parent loop.
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/angular-3qegjg?file=src%2Fmain.ts
Please provide the exception or error you saw
In the stackblitz example, the value of 'odd' should be retained in the inner loop iterations.
Please provide the environment you discovered this bug in (run ng version)
17.0.2
Anything else?
No response
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
Yes
Description
With the new control flow syntax, nested inner for loops will overwrite the value of even/odd variables stored in the parent loop.
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/angular-3qegjg?file=src%2Fmain.ts
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version)17.0.2
Anything else?
No response