Parser is confusing tokens for 'default' in a switch case with the 'default()' method call when inside a method that has a default implementation
jvsqzj opened this issue · 3 comments
This bug was found by a user who noticed this incorrectly reported syntax error in a switch case statement:

This should not be flagged as a syntax error, as its inconsistent with the DML compiler. The error reports it was expecting : for the switch case but the image shows the colon is already present where its supposed to be.
Thanks, I'll test this locally and verify its resolved.
Do we want to close this issue after verification that or will you close it once a release is made?
Thanks, I'll test this locally and verify its resolved.
Do we want to close this issue after verification that or will you close it once a release is made?
Since releases are not being made from this repo atm. I will close once it's verified as fixed.
This seems to be resolved on my local testing. Closing. Thanks
