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

T19142.hs:14:15: error:
    • Expecting one more argument to ‘Maybe’
      Expected a type, but ‘Maybe’ has kind ‘* -> *’
    • In the first argument of ‘Maybe’, namely ‘Maybe’
      In the type ‘Maybe Maybe’
      In a pattern type signature: Maybe Maybe

T19142.hs:20:12: error:
    • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’
    • In the type ‘Int’
      In the expression: foo @Int
      In an equation for ‘g’: g x = foo @Int