Assignment to 'for' loop parameter

Last modified: 03 December 2024

Reports assignments to for loop parameters inside the for loop body.

While occasionally intended, this construct can be extremely confusing, and is often the result of a typo.

Example: