-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[ty] Infer nonlocal types as unions of all reachable bindings #18750
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
29 commits
Select commit
Hold shift + click to select a range
560841b
Add test suite
sharkdp 3b2f270
Rename public => end of scope
sharkdp cb45082
Initial attempt
sharkdp c031c15
Only use all bindings for within-module lookups
sharkdp c911bbb
The same exercise for declarations
sharkdp 117dc98
salsa::Update
sharkdp 8df3704
Add more tests
sharkdp 9914f62
Initial hacky version of overload filtering
sharkdp 1b78692
Document more limitations
sharkdp 1e257aa
Update builtins
sharkdp 1f29c8e
Update text
sharkdp b3b817b
Less hacky implementation
sharkdp f90da4a
Add skip_check's for the fuzzer panics
sharkdp 6808a61
Test suite improvements
sharkdp 4981a77
Minor updates to tests
sharkdp 4953ccb
Refactoring
sharkdp 2429966
Fix https://github.com/astral-sh/ty/issues/699
sharkdp a304383
Replace bool flag with enum
sharkdp ddb3081
Better overload handling
sharkdp bda2550
Document definitely-declared behavior
sharkdp 3573c32
Analyze boundness closer
sharkdp d6c8500
Cleanup
sharkdp ac73e10
Update fuzzer seeds
sharkdp f48930e
Wording and clarifications in test suite
sharkdp 90bd247
Revert fuzzer changes
sharkdp a4d73e5
Remove TODOs related to deferred annotations
sharkdp af4b307
Address various minor review comments
sharkdp e02176b
Fix comment
sharkdp 4226670
Filter out overloads from bindings as well
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
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.
Uh oh!
There was an error while loading. Please reload this page.