Assignments to 'for' loop or 'with' statement parameter

Last modified: 03 December 2024

Reports the cases when you rewrite a loop variable with an inner loop.

Example:

It also warns you if a variable declared in the with statement is redeclared inside the statement body: