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

Handle interface members in NullableWalker.AsMemberOfType #33764

Merged
merged 3 commits into from
Mar 1, 2019

Conversation

cston
Copy link
Member

@cston cston commented Feb 28, 2019

Fixes #29967

@cston cston requested a review from a team as a code owner February 28, 2019 17:04
@cston
Copy link
Member Author

cston commented Feb 28, 2019

@dotnet/roslyn-compiler please review.

[Fact]
[WorkItem(26628, "https://github.com/dotnet/roslyn/issues/26628")]
[WorkItem(33394, "https://github.com/dotnet/roslyn/issues/33394")]
public void ImplicitConstructor_03()
Copy link
Contributor

@AlekseyTs AlekseyTs Feb 28, 2019

Choose a reason for hiding this comment

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

ImplicitConstructor_03 [](start = 20, length = 22)

What does "Implicit" refer to for this scenario? #Resolved

Copy link
Member Author

@cston cston Feb 28, 2019

Choose a reason for hiding this comment

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

"Implicit" refers to the static constructor. Renamed.


bool tryAsMemberOfSingleType(NamedTypeSymbol singleType, out Symbol result)
{
if (!singleType.OriginalDefinition.Equals(symbolDefContainer, TypeCompareKind.AllIgnoreOptions))
Copy link
Contributor

@AlekseyTs AlekseyTs Feb 28, 2019

Choose a reason for hiding this comment

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

TypeCompareKind.AllIgnoreOptions [](start = 78, length = 32)

Do we want to match tuple names and perhaps dynamic? #ByDesign

Copy link
Member Author

Choose a reason for hiding this comment

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

Perhaps although that doesn't seem necessary.


In reply to: 261332320 [](ancestors = 261332320)

{
throw null!;
}
static void F<T, U>()
Copy link
Contributor

@AlekseyTs AlekseyTs Feb 28, 2019

Choose a reason for hiding this comment

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

, U> [](start = 19, length = 4)

It doesn't look like U is used. #Resolved

Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

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

LGTM (iteration 1)

@sharwell
Copy link
Member

sharwell commented Mar 1, 2019

@cston I filed #33785 for the integration test timeout and restarted it

@cston cston merged commit b34f4ad into dotnet:master Mar 1, 2019
@cston cston deleted the 29967 branch March 1, 2019 15:34
333fred added a commit to 333fred/roslyn that referenced this pull request Mar 4, 2019
* dotnet/master: (903 commits)
  Add UseEnhancedColors to FeatureOnOffOptionsProvider (dotnet#33802)
  Update TypeStyle.cs
  Text on a InterpolatedVerbatimStringStartToken token (dotnet#33747)
  added ability to clear all diagnostics reproted from a IDiagnosticUpd… (dotnet#33805)
  Use a set instead of map to define processed redundant nodes.
  EnC: Remove dependency on solution from AnalyzeDocumentAsync (dotnet#33796)
  Add workitem links to new redundant assignment tests.
  Move leading trivia with node when removing unused values.
  Remove OOP related feature options. (dotnet#31644)
  Merge pull request dotnet#33631 from CyrusNajmabadi/wrapPriority
  Use the correct iteration count in IterationDataAttribute
  Handle interface members in NullableWalker.AsMemberOfType (dotnet#33764)
  Cleanly work around microsoft/nodejstools#2138
  Implement full spec changes for Index/Range (dotnet#33679)
  Further reduce expectations on deep fluent calls
  Lower expectation for deep fluent call
  Take screenshot after writing logs
  Avoid throwing exception in static constructor
  Offer to add parameter to constructor with no existing parameters (dotnet#33624)
  Add regression test for nullable crash (dotnet#33735)
  ...
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.

6 participants