-
Notifications
You must be signed in to change notification settings - Fork 803
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
Refactor GetCSharpStyleIndexedExtensionMembersForTyconRef: unify logic #16839
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please point me out where this is tested? Just to be more confident about the refactoring :)
We tests are here https://github.com/dotnet/fsharp/blob/main/tests/FSharp.Compiler.ComponentTests/Language/ExtensionMethodTests.fs Edit: Implemented feature |
@psfinaki, the most important test is that this repository is completely built (including VisualFSharp), because, as the practice of my other PR (#16168) shows, the dotnet/fsharp project contains more interesting cases in its code than there are in tests. There are also tests for old C#-compatible extensions, for example, https://github.com/dotnet/fsharp/blob/main/tests/fsharp/Compiler/Language/StaticNameResolutionTests.fs and for new F# 8
|
Alright, yeah, thanks for the links :) |
Remove code duplicates, generalize check