Open msimmon6 opened 2 years ago
Also occurs in student's P1
Edit: It's considered a separator https://docs.oracle.com/javase/specs/jls/se15/html/jls-3.html#jls-3.11
I think the answer is just including "::" in the list of separators at the bottom of your Java.1.15.pegjs file, but the actual parser file in this looks too intimidating to edit... I will leave it to you to fix.
No problem, thanks for reporting. I've been aware of this issue for over a year now, just these one-off occurrences tend to be super-rare in 131 and 132 student code. Thanks for creating the issue, maybe it will be useful in the future -- but we'll hold off on the fix for now.
Yeah -- this person has done it twice now so I hope she does not continue :(
Describe the bug
Parse error in a file, 99% sure it is due to the :: operator. The student, by all accounts, definitely did not know what they were doing. We should still probably handle it.
Where did the bug occur
Semester: Summer 2022 Instructor & Course: Pedram's CMSC132 Project name on Submit Server: Exam 2 Student directory id: thou1
Code segment (if known & relevant):
Additional info
Looks like it was expecting an operator, but not this one. It's probably a simple fix of adding :: as a valid operator.