We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc45a77 commit 310bde0Copy full SHA for 310bde0
1 file changed
src/Compilers/CSharp/Portable/Parser/LanguageParser.cs
@@ -5050,7 +5050,7 @@ private void ParseVariableDeclarators(
5050
}
5051
else if (this.CurrentToken.Kind == SyntaxKind.CommaToken)
5052
{
5053
- // If we see `for (int i = 0, i < ...` then we do not want to consume j as the next declarator as it
+ // If we see `for (int i = 0, i < ...` then we do not want to the second 'i' as the next declarator as it
5054
// is more likely that the user meant to write `for (int i = 0; i < ...` instead and accidentally
5055
// used a comma instead of a semicolon.
5056
//
0 commit comments