Closed japgolly closed 3 years ago
Note: the reason I included two examples is because
ko_1
the param
itself is annotated as not being exhaustive (good placement)ko_2
the first case clause is annotated as not being exhaustive (incorrect placement) - param
should be annotatedThe root of this issue is that TypeTest
is not marked as being exhaustive. Also see #12026 and #11541.
Compiler version
Both:
Minimized code
Output
Expectation
No warnings.