summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail036.stderr
blob: 465e4547127fcd60d654925fc24fc7b61e222f40 (plain)
1
2
3
4
5
6
7
8
9
10
11

tcfail036.hs:6:10:
    Duplicate instance declarations:
      instance Num NUM -- Defined at tcfail036.hs:6:10
      instance Num NUM -- Defined at tcfail036.hs:8:10

tcfail036.hs:9:13:
    Expecting one more argument to ‛Num’
    The first argument of ‛Eq’ should have kind ‛*’,
      but ‛Num’ has kind ‛* -> Constraint’
    In the instance declaration for ‛Eq Num’