Non-exhaustive matching warning message for open types is confusing #6466
Original bug ID: 6466
Here it is:
I scratched my head for quite a while before I got it.
Steps to reproduce
function Not_found -> ()
Comment author: @garrigue
Fixed as suggested.
Warning 8: this pattern-matching is not exhaustive.
Removing the 2nd and 3rd line would require changing the warning definition.
Comment author: @lpw25
For consistency with the documentation, could we change: