-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve generic type argument list error recovery (#69734)
* Improve error recovery on missing > in method * Add many more tests * Recovery on properties * Recovery on tuples and more tests * Adjust tests * Fix type argument list termination and tests * Move another test * Better recovery logic and another test * Adjust test after improvement * Apply review comments * Add more tests covering type arg list break * Revert test adjustment * More comments and improve tests * Recover removed test * Formatting expected diagnostics Co-authored-by: Cyrus Najmabadi <cyrus.najmabadi@gmail.com> * Review comments * Add a lot more tests * Add `this` and `operator` * Add comments for terminating tokens * Remove test failures for bad recoveries * Fix spelling * Handle pattern matching keywords + tests * Fix tests * Add more tests in method declarations * Review comments * Tests + nits --------- Co-authored-by: Cyrus Najmabadi <cyrus.najmabadi@gmail.com>
- Loading branch information
1 parent
2d8c140
commit 399051e
Showing
7 changed files
with
7,475 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.