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

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