Repository navigation
Opt in to exhaustive enum handling (UnhandledMatchCondition) without match statements? #10059
Answered
by
weirdan
AlbinoDrought
asked this question in
Q&A
|
Hello, if we have the following simplified code: https://psalm.dev/r/7f1e92b68e and in the future we add another value to the enum: https://psalm.dev/r/203dacfe6a
I'm imagining something like this: https://psalm.dev/r/030f9f52e5 Cheers |
Answered by
weirdan
Jul 27, 2023
Replies: 1 comment
|
I think you can do that already with |
0 replies
Answer selected by
AlbinoDrought
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you can do that already with
@psalm-check-type: https://psalm.dev/r/5ca4f398f1