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

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

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

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

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

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