Narrowing for @final types in match statements #11234
Unanswered
baluyotraf
asked this question in
Q&A
Replies: 0 comments
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
@finaltypes narrow down when usingisin anif/elsechain:Playground
But it does not seem to happen for
matchstatements, even if they have the same runtime behavior.Playground
Beta Was this translation helpful? Give feedback.
All reactions