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

Report errors for new features unsupported in expression trees. #12941

Merged
merged 4 commits into from
Aug 11, 2016

Conversation

gafter
Copy link
Member

@gafter gafter commented Aug 4, 2016

Fixes #12900

@dotnet/roslyn-compiler Please review.

break;
case BoundKind.Local:
var local = (BoundLocal)argument;
if (local.Syntax is Syntax.DeclarationExpressionSyntax) CheckOutDeclaration(local, method);
Copy link
Member

Choose a reason for hiding this comment

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

if (local.Syntax.Kind() == SyntaxKind.DeclarationExpression)

@cston
Copy link
Member

cston commented Aug 4, 2016

LGTM

@gafter
Copy link
Member Author

gafter commented Aug 5, 2016

@VSadov Could you check this PR please?

@gafter gafter modified the milestones: 2.0 (RC), 2.0 (Preview 5) Aug 9, 2016
@gafter
Copy link
Member Author

gafter commented Aug 9, 2016

@VSadov Could you check this PR please?

@VSadov
Copy link
Member

VSadov commented Aug 10, 2016

LGTM

@AlekseyTs
Copy link
Contributor

LGTM

@jaredpar
Copy link
Member

:shipit:

@gafter gafter merged commit a6b51b2 into dotnet:master Aug 11, 2016
@gafter gafter deleted the master-12900 branch May 24, 2018 19:07
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.

7 participants