[FR] Make Never raisable
#8911
Azureblade3808
started this conversation in
Ideas
Replies: 1 comment
-
|
This will be addressed in the next release. |
Beta Was this translation helpful? Give feedback.
0 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.
-
Currently, a variable with type
Neveris not allowed to be raised.But technically said,
Neveris indeed a subtype ofBaseException, so I don't think the reason is very convincing.If such usages are allowed, it will be easier to implement tests for unraisable exceptions. For my case, it is something like --
Beta Was this translation helpful? Give feedback.
All reactions