[SR-15688] Improve Parser Recovery and Diagnostics for Import Paths with Operators in Them #57967
Labels
compiler
The Swift compiler in itself
good first issue
Good for newcomers
improvement
parser
Area → compiler: The legacy C++ parser
Additional Detail from JIRA
md5: d8dd3d94d5f74900b7099a089ec5b725
Issue Description:
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
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: