Skip to content

VB Overload Resolution Priority - handle operators and respect language version#75941

Merged
AlekseyTs merged 2 commits intodotnet:features/VBOverloadResolutionPriorityfrom
AlekseyTs:OverloadPriority_02
Nov 20, 2024
Merged

VB Overload Resolution Priority - handle operators and respect language version#75941
AlekseyTs merged 2 commits intodotnet:features/VBOverloadResolutionPriorityfrom
AlekseyTs:OverloadPriority_02

Conversation

@AlekseyTs
Copy link
Contributor

No description provided.

@AlekseyTs AlekseyTs requested review from 333fred and cston November 16, 2024 01:32
@AlekseyTs AlekseyTs requested a review from a team as a code owner November 16, 2024 01:32
@ghost ghost added the untriaged Issues and PRs which have not yet been triaged by a lead label Nov 16, 2024
@AlekseyTs
Copy link
Contributor Author

@333fred, @cston, @dotnet/roslyn-compiler Please review

}

[Fact]
public void LiftedOperator_01()
Copy link
Member

@333fred 333fred Nov 18, 2024

Choose a reason for hiding this comment

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

Is this meaningfully different than UnaryOperator_Allowed? #Pending

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably not, but it is clear what this test is about and, therefore, it is less likely that the test will be modified in a way that the lifted/un-lifted aspect is not covered

return Nothing
End Operator

<System.Runtime.CompilerServices.OverloadResolutionPriority(1)>
Copy link
Member

@333fred 333fred Nov 18, 2024

Choose a reason for hiding this comment

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

Are we planning to report an error here? The equivalent C# is disallowed. #Resolved

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Are we planning to report an error here? The equivalent C# is disallowed.

There is an open design question about that in the speclet

@AlekseyTs
Copy link
Contributor Author

@cston, @dotnet/roslyn-compiler For the second review

1 similar comment
@AlekseyTs
Copy link
Contributor Author

@cston, @dotnet/roslyn-compiler For the second review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers Feature - Overload Resolution Priority untriaged Issues and PRs which have not yet been triaged by a lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants