else prong works even when it is exhaustive switch stage1 #7120
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
Milestone
This works:
but it should not allow
else
because@TypeOf(x) == error { T }
(according to@compileLog
) so else is unreachable. I will try to fix this.The text was updated successfully, but these errors were encountered: