unison
unison copied to clipboard
Exception with no useful information when using types with curly braces
structural type Row c = Row
check : Row {Boolean} -> ()
check row = ()
value : Row {Text, Boolean}
value = Row
> check value
.alvaro.public>
Encountered exception:
unpossible
CallStack ( from HasCallStack ) :
error
i have no idea if the code should type-check or not, but the error should provide more details
Thanks for reporting. @dolio can you have a look when you’ve got a chance?