Skip to content

Conversation

@jasonmalinowski
Copy link
Member

This slipped through because we didn't have any tests at all for the case where we are using the type-inferrer to infer the case like:

a = new A { B = { } }

where the inner one doesn't have a new B before it. The scenario wasn't new but just happened to be the precise case that was broken.

Fixes #36702

Not sure why these are lowercase but makes the tests harder to read.
This slipped through because we didn't have any tests at all for
the case where we are using the type-inferrer to infer the case like:

    a = new A { B = { } }

where the inner one doesn't have a new B before it. The scenario wasn't
new but just happened to be the precise case that was broken.

Fixes dotnet#36702
@jasonmalinowski jasonmalinowski requested a review from a team as a code owner June 24, 2019 22:30
@jasonmalinowski jasonmalinowski self-assigned this Jun 24, 2019
@jasonmalinowski jasonmalinowski added this to the 16.2.P4 milestone Jun 24, 2019
@jasonmalinowski
Copy link
Member Author

Tagging @jinujoseph for M2 approval.

Copy link
Member

@CyrusNajmabadi CyrusNajmabadi left a comment

Choose a reason for hiding this comment

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

Approve
Submit feedback approving these changes.

@jasonmalinowski jasonmalinowski merged commit 3adabcb into dotnet:master Jun 25, 2019
@jasonmalinowski jasonmalinowski deleted the fix-passing-wrapped-symbols-to-lookupsymbols branch June 25, 2019 17:47
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.

CSharpSemanticModel.ToLanguageSpecific throws ArgumentException

4 participants