Skip to content

C#: Use containing type instead of containing method in local function TRAP label #2090

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
merged 2 commits into from
Oct 7, 2019

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Oct 6, 2019

This is in order to handle the case where the enclosing callable of a local function is a lambda expression.

This PR is a proper fix for the error attempted fixed by #2089.

…n TRAP label

This is in order to handle the case where the enclosing callable of a local
function is a lambda expression.
@hvitved hvitved added the C# label Oct 6, 2019
@hvitved hvitved requested a review from calumgrant October 6, 2019 19:07
@hvitved hvitved requested a review from a team as a code owner October 6, 2019 19:07
@calumgrant calumgrant merged commit 369c456 into github:master Oct 7, 2019
@hvitved hvitved deleted the csharp/local-function-trap branch October 7, 2019 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants