LightAndLight / ipso

A functional scripting language.
https://ipso.dev
17 stars 1 forks source link

Pretty-printed record types can parenthesised #368

Open LightAndLight opened 1 year ago

LightAndLight commented 1 year ago

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.