### 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 ```true 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_
Activity
fix(compiler): nested for loops incorrectly calculating computed vari…
fix(compiler): nested for loops incorrectly calculating computed vari…
angular-automatic-lock-bot commentedon Dec 17, 2023
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
fix(compiler): nested for loops incorrectly calculating computed vari…
fix(compiler): nested for loops incorrectly calculating computed vari…
fix(compiler): nested for loops incorrectly calculating computed vari…
fix(compiler): nested for loops incorrectly calculating computed vari…