This issue has been moved from a ticket on Developer Community.
Better error fix suggestions on For loops when use commas rather than semicolons.
So this below gives a bunch of errors: "local variable or function is already defined in this scope", "variable j is declared but never used", "invalid expression term<", "; expected", "invalid expression term ,".
The red swiggles incorrectly highlight the "j" and the "<". They correctly show the second "," but fail to show under the first comma.
for (int j = pos1, j < pos2, j++)
{
// stuff
}
Could you reduce this to "; expected" error and have it red swiggle the commas?
Original Comments
Feedback Bot on 1/4/2022, 02:23 AM:
(private comment, text removed)