[BLUEJ-907] For-each loop should warn if assignment to loop variable converted from Java
If you have a for-each loop that assigns to the loop variable in Java, it won't work when you convert to Stride because Stride makes the loop variable final. We should warn during the conversion about this issue (may be tricky to detect the assignment to loop variable, but at least the name can't be shadowed without causing a compiler error).
Issue metadata
- Issue type: Bug
- Priority: Medium