Skip to content

List-patterns: fix build break#56809

Merged
jcouv merged 1 commit intodotnet:features/list-patternsfrom
jcouv:build-break
Sep 28, 2021
Merged

List-patterns: fix build break#56809
jcouv merged 1 commit intodotnet:features/list-patternsfrom
jcouv:build-break

Conversation

@jcouv
Copy link
Copy Markdown
Member

@jcouv jcouv commented Sep 28, 2021

Restoring overload we'd removed in main branch
Relates to test plan #51289

@jcouv jcouv self-assigned this Sep 28, 2021
@jcouv jcouv added this to the 17.1 milestone Sep 28, 2021
@jcouv jcouv marked this pull request as ready for review September 28, 2021 19:00
@jcouv jcouv requested a review from a team as a code owner September 28, 2021 19:00
@jcouv
Copy link
Copy Markdown
Member Author

jcouv commented Sep 28, 2021

@333fred @dotnet/roslyn-compiler for review. This is not for 17.0, but it's tiny and fixes a build break in the list-pattern feature branch. The break was introduced because we removed this method in the main branch (since it was unused there) and concurrently started using it in the feature branch.
Thanks

Copy link
Copy Markdown
Member

@333fred 333fred left a comment

Choose a reason for hiding this comment

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

LGTM (commit 1). @RikkiGibson should probably be the other reviewer.

return Call(receiverOpt, accessor);
}

public BoundExpression Indexer(BoundExpression? receiverOpt, PropertySymbol property, BoundExpression arg0)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I had a feeling list-patterns might be using this overload but my "delete unused method" impulse won out.

@jcouv jcouv merged commit d333187 into dotnet:features/list-patterns Sep 28, 2021
@jcouv jcouv deleted the build-break branch September 28, 2021 19:49
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.

3 participants