a = b
does not typecheck despite a
and b
having the same type and b
typechecks
#4544
Labels
a = b
does not typecheck despite a
and b
having the same type and b
typechecks
#4544
Description
Expected, that for any two declarations having the shape either both typecheck or both don't:
However this bug proves this wrong.
To Reproduce
Consider the function:
This function fails to typecheck:
Type error
Expected behavior
Either both functions typecheck, or both fail.
Additional context
Note, that
succeeds
constraints can be easily satisfied:PureScript version
0.15.8
The text was updated successfully, but these errors were encountered: