summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail132.stderr
blob: 3f8f226468b4a4ff2df875122af14ca034da1035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

tcfail132.hs:17:37: error:
    • Expecting one fewer arguments to ‘Object f' f t’
      Expected kind ‘* -> * -> * -> *’,
        but ‘Object f' f t’ has kind ‘* -> * -> *’
    • In the first argument of ‘T’, namely ‘(Object f' f t)’
      In the type ‘T (Object f' f t) (DUnit t)’
      In the type declaration for ‘LiftObject’

tcfail132.hs:17:53: error:
    • Expected kind ‘* -> * -> * -> *’,
        but ‘DUnit t’ has kind ‘* -> * -> *’
    • In the second argument of ‘T’, namely ‘(DUnit t)’
      In the type ‘T (Object f' f t) (DUnit t)’
      In the type declaration for ‘LiftObject’