Repository navigation
Offer every open that resolves the name, and open type where a plain open cannot reach #20501
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
Open
xperiandri
wants to merge
26
commits into
dotnet:main
Choose a base branch
from
xperiandri:fix/add-open-type
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+519
−202
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
ca33bc3
Place the added open from the syntax tree, not from a line of text
xperiandri c2a2a2d
Run dotnet fantomas
xperiandri 6b348db
Break the line when the declaration shares it with what precedes it
xperiandri 8fd01af
Enter a nested module declared on one line at its first declaration
xperiandri d34a393
Take the line break from the line above when the last line has none
xperiandri 5831886
Suggest open type where a plain open cannot reach
xperiandri 1d5624a
Offer every open that resolves the name, not the first one found
xperiandri 1cb29fc
Cover the qualification suggestions the fix offers alongside the opens
xperiandri 6d2a0f6
Qualify from the first identifier written, not the unresolved one
xperiandri f2b90f3
Tell open from open type by the symbol, not by a new AssemblySymbol f…
xperiandri 267cce3
Don't offer open type for a type inside a generic type
xperiandri da608ad
Put what System holds first among the qualifications too
xperiandri dc46686
Enter a one-line nested module only from its own line
xperiandri 9d0b135
Merge branch 'fix/add-open-placement' into fix/add-open-type
xperiandri 2d32167
Place the added open from the syntax tree, not from a line of text
xperiandri 9d7c8dc
Run dotnet fantomas
xperiandri 6182b92
Break the line when the declaration shares it with what precedes it
xperiandri 9542a9b
Enter a nested module declared on one line at its first declaration
xperiandri bced991
Take the line break from the line above when the last line has none
xperiandri 1eff620
Enter a one-line nested module only from its own line
xperiandri 6682313
Merge remote-tracking branch 'origin/main' into fix/add-open-type
xperiandri 64ee01b
Name the open placement instead of commenting it
xperiandri 9e488ea
Run the open placement cases as theories
xperiandri 529c3f7
Merge branch 'fix/add-open-placement' into fix/add-open-type
xperiandri bf968fd
Say in names what the open suggestions comment on
xperiandri db6709e
Run the open type and every-candidate cases as theories
xperiandri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🤖 🕵️ [P2] Nearest-scope
open type System.Consoleescapes the attributed module and breaks siblingReadLine()(FS0193)