Replies: 1 comment 2 replies
-
|
This is basically a use case for #1043. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is it possible to have typing errors when calling a generic class method with a specific specialized type?
It's possible to enable a method for a specific type, but I want to disable it.
Example (enable method only for
strgeneric specialization)My current workaround (return
Nonefor specific generic specializations):But I would like to get
typingerror instead ofNoneas return type.Beta Was this translation helpful? Give feedback.
All reactions