purescript-0.14.0: tests/purs/failing/CoercibleOpenRowsDoNotUnify.out
Error found:
in module [33mMain[0m
at tests/purs/failing/CoercibleOpenRowsDoNotUnify.purs:7:12 - 7:18 (line 7, column 12 - line 7, column 18)
No type class instance was found for
[33m [0m
[33m Prim.Coerce.Coercible r0[0m
[33m s1[0m
[33m [0m
while solving type class constraint
[33m [0m
[33m Prim.Coerce.Coercible { x :: Int[0m
[33m | r0 [0m
[33m } [0m
[33m { x :: Int[0m
[33m | s1 [0m
[33m } [0m
[33m [0m
while checking that type [33mforall (a :: Type) (b :: Type). Coercible @Type a b => a -> b[0m
is at least as general as type [33m{ x :: Int [0m
[33m| r0 [0m
[33m} [0m
[33m-> { x :: Int[0m
[33m | s1 [0m
[33m } [0m
while checking that expression [33mcoerce[0m
has type [33m{ x :: Int [0m
[33m| r0 [0m
[33m} [0m
[33m-> { x :: Int[0m
[33m | s1 [0m
[33m } [0m
in value declaration [33mrecToRec[0m
where [33mr0[0m is a rigid type variable
bound at (line 7, column 12 - line 7, column 18)
[33ms1[0m is a rigid type variable
bound at (line 7, column 12 - line 7, column 18)
See https://github.com/purescript/documentation/blob/master/errors/NoInstanceFound.md for more information,
or to contribute content related to this error.