I was reviewing my code from last year's competition robot, and noticed that it is now throwing an error with this expression:
I was confused by this, as it was not throwing an error in April when I last opened the file.
I tried re-writing the line, and found that removing the parenthesis makes the error go away:
Is this a bug in ROBOTC, or is it just something obvious I am overlooking?
Below is the task this line was contained in. I have also attached the entire file (lines 106 and 107 are where the issue is).
See line 106 and 107 in the attached file.