Skip to content

Conversation

@AlekseyTs
Copy link
Contributor

@AlekseyTs AlekseyTs commented Apr 7, 2020

Fixes #39361.

@AlekseyTs
Copy link
Contributor Author

@cston, @jcouv, @dotnet/roslyn-compiler Please review

1 similar comment
@AlekseyTs
Copy link
Contributor Author

@cston, @jcouv, @dotnet/roslyn-compiler Please review

ParameterSymbol parameter,
TypeWithState operandType)
{
TypeWithAnnotations targetTypeWithNullability = parameter.TypeWithAnnotations;
Copy link
Member

@333fred 333fred Apr 8, 2020

Choose a reason for hiding this comment

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

targetTypeWithNullability [](start = 40, length = 25)

Nit: Not a fan of the naming. Nullability in this file generally means either annotation state or flow state. This is really possiblyLiftedTargetType. #ByDesign

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The name matches parameter name of the VisitConversion method that is called below.


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

return x6 == y6;
}

bool M7(DateTime? x7, S? y7)
Copy link
Member

@333fred 333fred Apr 8, 2020

Choose a reason for hiding this comment

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

Consider adding a case for DateTime x8, S y8 #Resolved

Copy link
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). Just a couple of minor nits.

@AlekseyTs AlekseyTs merged commit e906ff1 into dotnet:release/dev16.6 Apr 9, 2020
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