purescript-0.15.15: tests/purs/failing/DoNotSuggestComposition2.out
Error found:
in module [33mDoNotSuggestComposition2[0m
at tests/purs/failing/DoNotSuggestComposition2.purs:7:27 - 7:30 (line 7, column 27 - line 7, column 30)
Could not match type
[33m [0m
[33m Record[0m
[33m [0m
with type
[33m [0m
[33m Function Int[0m
[33m [0m
while trying to match type [33m{ y :: Int[0m
[33m} [0m
with type [33mInt -> t0[0m
while inferring the type of [33mx 2[0m
in value declaration [33mfoo[0m
where [33mt0[0m is an unknown type
See https://github.com/purescript/documentation/blob/master/errors/TypesDoNotUnify.md for more information,
or to contribute content related to this error.