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

tcfail113.hs:12:7: error:
    • Expecting one more argument to ‘Maybe’
      Expected a type, but ‘Maybe’ has kind ‘* -> *’
    • In the type signature: f :: [Maybe]

tcfail113.hs:15:8: error:
    • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’
    • In the first argument of ‘T’, namely ‘Int’
      In the type signature: g :: T Int

tcfail113.hs:18:6: error:
    • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’
    • In the type signature: h :: Int Int