summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T3540.stderr
blob: e61109c224673cec3ac2f425679df066d699d459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

T3540.hs:4:12:
    Predicate `a ~ Int' used as a type
    Expected kind `ArgKind', but `a ~ Int' has kind `Constraint'
    In the type signature for `thing': thing :: a ~ Int

T3540.hs:7:20:
    Predicate `a ~ Int' used as a type
    Expected kind `OpenKind', but `a ~ Int' has kind `Constraint'
    In the type signature for `thing1': thing1 :: Int -> (a ~ Int)

T3540.hs:10:13:
    Predicate `a ~ Int' used as a type
    Expected kind `ArgKind', but `a ~ Int' has kind `Constraint'
    In the type signature for `thing2': thing2 :: (a ~ Int) -> Int

T3540.hs:13:12:
    Predicate `?dude :: Int' used as a type
    Expected kind `ArgKind', but `?dude :: Int' has kind `Constraint'
    In the type signature for `thing3': thing3 :: (?dude :: Int) -> Int

T3540.hs:16:11:
    Predicate `Eq a' used as a type
    Expected kind `ArgKind', but `Eq a' has kind `Constraint'
    In the type signature for `thing4': thing4 :: (Eq a) -> Int