-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Support method plugin hooks on unions #6560
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 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
ae0f78d
Support plugin hooks on unions (normal methods)
ilevkivskyi b3633bc
Support plugin hooks on unions (special methods)
ilevkivskyi 39301bb
Merge remote-tracking branch 'upstream/master' into union-plugin-other
ilevkivskyi 15fafd3
Simplify logic
ilevkivskyi efd04a6
Add comments and docstrings (and some more simplification)
ilevkivskyi 2dbbefb
Add dedicated tests
ilevkivskyi 72870a7
Fix self-check
ilevkivskyi 8d1dcff
More tests
ilevkivskyi bd6e18d
Merge branch 'master' into union-plugin-other
ilevkivskyi 1d8a32f
Merge remote-tracking branch 'upstream/master' into union-plugin-other
ilevkivskyi 4d7aa10
Update after merge
ilevkivskyi a643bbd
Address CR
ilevkivskyi b3b8d89
A cleaner solution for non-overlapping types
ilevkivskyi 55b4624
Fix lint
ilevkivskyi 2bdb8be
Try fixing Python 3.5.1
ilevkivskyi 12b4303
Merge remote-tracking branch 'upstream/master' into union-plugin-other
d36ea3c
Address CR
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
Address CR
- Loading branch information
commit a643bbd47cff914ff7f9263dc47c3053f56375b9
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
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.
The above docstring part was a bit confusing. It looks like we aren't actually overriding the callee type but to reusing a previously calculated callee type. This looks like an optimization. Maybe update the docstring to mention that? Otherwise it's not clear whether recalculating the callee type is correct.