-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Add support for conditionally defined overloads #10712
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 27 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
99436ee
Add support for conditionally defined overloads
cdce8p 7e7502b
Bugfix
cdce8p 52ba893
Merge remote-tracking branch 'upstream/master' into conditional-overl…
cdce8p 3effa15
Redo logic to support elif + else
cdce8p ee6ad3c
Fix typing issues
cdce8p bc486e0
Fix small issue with merging IfStmt
cdce8p a1370e0
Update existing tests
cdce8p 0d2dee3
Add additional tests
cdce8p ae394cc
Fix check-functions tests
cdce8p 1dd5679
Fix crash
cdce8p a8c3899
Remove redundant cast
cdce8p 3a93f7e
Add last test cases
cdce8p 9a4c703
Fix tests
cdce8p 2777ce1
Typecheck skipped IfStmt conditions
cdce8p b36a5f8
More tests
cdce8p 4c2e98b
Merge remote-tracking branch 'upstream/master' into conditional-overl…
cdce8p 1452020
Merge remote-tracking branch 'upstream/master' into conditional-overl…
cdce8p dcc49b2
Merge remote-tracking branch 'upstream/master' into conditional-overl…
cdce8p f8e27b2
Merge remote-tracking branch 'upstream/master' into conditional-overl…
cdce8p 14defb4
Merge remote-tracking branch 'upstream/master' into conditional-overl…
cdce8p d6cc690
Merge remote-tracking branch 'upstream/master' into conditional-overl…
cdce8p 7cb5eac
Merge remote-tracking branch 'upstream/master' into conditional-overl…
cdce8p 80b05d5
Apply suggestions from review
cdce8p 3d0397a
Don't merge starting If blocks without overloads
cdce8p 914d517
Emit error if condition can't be inferred
cdce8p 4f79d43
Add additional test cases
cdce8p 4776070
Add documentation
cdce8p cd1e9b0
Copyedits to the docs
JelleZijlstra 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
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.