Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash with overload and callable object decorators
Fixes the crash in #8356, as identified by @pranavrajpal Note that we still don't support the singledispatch in that issue, since we get 'overloaded function has no attribute "register"', but that's much easier to work around than a crash.
- Loading branch information
hauntsaninja
committed
Nov 27, 2021
1 parent
d7c4e69
commit 085b88f
Showing
2 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 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