ipso icon indicating copy to clipboard operation
ipso copied to clipboard

Pretty-printed record types can parenthesised

Open LightAndLight opened this issue 2 years ago • 0 comments

Example:

gitex:292:49: error: expected type "IO ({ name : String, hash : String })", got type "IO ()"
    |
292 |                                                 exitWithError err
    |

The record type doesn't need parens; IO { name : String, hash : String } will do.

LightAndLight avatar Feb 19 '23 21:02 LightAndLight