These have never once worked, so we ought to do a better job of detecting and diagnosing them. Right now operator folding kicks in and we just get a cascade of bad errors
// Consecutive statements on a line must be separated by ';'// Operator with postfix spacing cannot start a subexpression// Expected expression// 'Text' was imported as 'func', but it is a struct// Operator with postfix spacing cannot start a subexpression
Right after we call parseAnyIdentifier in parseImportDecl would be the right place to check, diagnose, and delete these operator components.
The text was updated successfully, but these errors were encountered: