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

tcfail143.hs:30:9: error: [GHC-18872]
    • 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:12:10-23
    • In the expression: n1 `extend` n0
      In an equation for ‘t2’: t2 = n1 `extend` n0