I probably didn’t phrase my question well enough. ...
# language-proposals
c
I probably didn’t phrase my question well enough. I know that’s the way to get the behavior I want (compile-time error). I wanted to ask if you think the code snippet I posted above (with
else
instead of exhaustive
when
branches) is a sketchy code that should be treated as a warning or even an error.