-
Notifications
You must be signed in to change notification settings - Fork 10.5k
SR-11261: [Diagnostics][Qol] Parser recovery for keyword #26596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rintaro
merged 15 commits into
swiftlang:master
from
LucianoPAlmeida:SR-11261-parser-recovery-for-keyword
Aug 23, 2019
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e816b1b
Fixes SR-11261
LucianoPAlmeida 370e895
Adding test cases suggested
LucianoPAlmeida c7e7288
Improving diagnostics for multi-case declaration that uses a keyword
LucianoPAlmeida be777aa
Adding fixit to test
LucianoPAlmeida 3cd636c
New lines
LucianoPAlmeida 1b149f0
Use isStartLoc
LucianoPAlmeida c0d1301
Only doing pattern matching if token is not a keywork or if is a poss…
LucianoPAlmeida 6edb69a
Adding test cases for case at start of line
LucianoPAlmeida 8ea7fff
Using BacktrackingScope to fix expected pattern
LucianoPAlmeida 1bfd97d
Moving expected_identifier_after_case_comma to comma location and imp…
LucianoPAlmeida 32dc022
Adding test case for var keyword
LucianoPAlmeida f81bc4c
Renaming test case.
LucianoPAlmeida 99de498
Updating NameLoc with the token consumed.
LucianoPAlmeida 4775458
Updating Name with the consumed token
LucianoPAlmeida 92663ca
Updating stmt tests
LucianoPAlmeida File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.