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

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

tcfail036.hs:11:13:
    Expecting one more argument to ‘Num’
    Expected a type, but ‘Num’ has kind ‘* -> Constraint’
    In the first argument of ‘Eq’, namely ‘Num’
    In the instance declaration for ‘Eq Num’