summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail036.stderr
blob: a9aef1192b445a5074e52f079ac7934602686e1c (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’