summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail143.stderr
blob: 14c73d98dac1eaf6c3de315791c775c9260c44c5 (plain)
1
2
3
4
5
6
7
8

tcfail143.hs:29:9: error:
    Couldn't match type ‘S Z’ with ‘Z’
    arising from a functional dependency between:
      constraint ‘MinMax (S Z) Z Z Z’ arising from a use of ‘extend’
      instance ‘MinMax a Z Z a’ at tcfail143.hs:11:10-23
    In the expression: n1 `extend` n0
    In an equation for ‘t2’: t2 = n1 `extend` n0