Closed jonaprieto closed 2 years ago
In my opinion we should not worry about holes in constructor return types until we properly deal with gadts. I think that in the current type system, using a hole in a constructor return type should not be supported.
The following program exhibits the issue. No error should be thrown.
However, this is what we get: