Skip to content
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

Ensure LanguageParser.ParseStatement doesn’t return null. #17827

Merged
merged 1 commit into from
Mar 15, 2017

Conversation

AlekseyTs
Copy link
Contributor

Fixes #17458.
LanguageParser.ParseStatement can return null in case of an error. LanguageParser.ParseStatement is modified to recover from this situation by parsing an expression statement.

@dotnet/roslyn-compiler Please review.

Fixes dotnet#17458.
LanguageParser.ParseStatement can return null in case of an error. LanguageParser.ParseStatement is modified to recover from this situation by parsing an expression statement.
@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review.

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review, need a second sign-off.

1 similar comment
@AlekseyTs
Copy link
Contributor Author

@dotnet/roslyn-compiler Please review, need a second sign-off.

@cston
Copy link
Member

cston commented Mar 15, 2017

LGTM

@AlekseyTs AlekseyTs merged commit a4191ef into dotnet:master Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants