-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[red-knot] Remove Type::Unbound
#13980
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
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
d6cfaf9
[red-knot] remove Type::Unbound, add SymbolLookupResult
sharkdp b7eeae2
Fix clippy suggestions
sharkdp b2b802e
Fix 4 more tests
sharkdp 1f0d0d6
Yield possibly-unbound diagnostics
sharkdp da91037
Fix unary test
sharkdp 7a83b48
Fix binary/instances test
sharkdp 5856d18
Maybe-unboundedness
sharkdp a0f68a4
Fix one more test
sharkdp adbca69
'Fix' remaining tests
sharkdp 617673b
Get rid of clone's
sharkdp 87755eb
Get rid of todo_unwrap_type
sharkdp 68d46bd
Cleanup
sharkdp dddfaa9
Fix clippy suggestions
sharkdp 43dfc75
Update expected diagnostics
sharkdp ef122b8
Rename Bound => Type
sharkdp 75f097f
Fix member() on union types
sharkdp f6c1100
Get rid of most .unwrap_or(Type::Never) calls
sharkdp 6e2b560
Remove #[ignore]
sharkdp 81ee756
Add diagnostic for potentially unbound class member calls
sharkdp 5a49aa2
Update diagnostics in benchmark
sharkdp 444de93
Only match on error code
sharkdp 750a704
Rename Boundedness => Boundness
sharkdp dab95ed
Import grouping
sharkdp d2d3157
replace_unbound_with takes a SymbolLookupResult
sharkdp 276db1a
Update TODO comment
sharkdp b64d54a
bindings_ty: replace Option<Type<…>>
sharkdp 4e10689
Remove TODO comment
sharkdp 2167d8f
Get rid of has_definitions
sharkdp 0df39cb
Fix semantic merge conflicts (take #4), resolve TODO for 'with'
sharkdp 7cc5cd5
Add TODO comments
sharkdp eb87def
Remove unwanted diagnostic
sharkdp 9261f2c
Remove added newline
sharkdp 3f99b09
Fix maybe-undeclared handling
sharkdp 0730a6c
Remove unbound=>never replacement in stdlib
sharkdp f0edf2b
Add & fix test case for doubly-possibly-unbound
sharkdp b256a1f
Rename potentially => possibly
sharkdp 8c48000
Add as_type helper
sharkdp 5a3bcec
Rename SymbolLookupResult => Symbol
sharkdp 881230d
Manually fix formatting
sharkdp 8b60e62
Remove Symbol to its own module
sharkdp 9d83c39
Update bindings_ty documentation
sharkdp 5341c3d
boundedness => boundness
sharkdp 2a6917b
Rename symbol queries
sharkdp 50d1d1c
Add TODO comment regarding declarations
sharkdp 13bbeb2
Fix test failures
sharkdp 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
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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.