implement method dispatch for a union of functions #54620
Labels
feature
Indicates new feature / enhancement requests
types and dispatch
Types, subtyping and method dispatch
I'd like this to work:
However, it doesn't work:
This would occasionally be nice for defining a single method for several functions, to prevent code duplication.
The text was updated successfully, but these errors were encountered: