summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T3540.stderr
blob: 8b1f03c3c2e53e8592cb92f64b9c9f3c7f2c92f2 (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: error: [GHC-83865]
    • Expected a type, but ‘a ~ Int’ is a constraint
    • In the type signature: thing :: (a ~ Int)

T3540.hs:7:20: error: [GHC-83865]
    • Expected a type, but ‘a ~ Int’ is a constraint
    • In the type signature: thing1 :: Int -> (a ~ Int)

T3540.hs:10:13: error: [GHC-83865]
    • Expected a type, but ‘a ~ Int’ is a constraint
    • In the type signature: thing2 :: (a ~ Int) -> Int

T3540.hs:13:12: error: [GHC-83865]
    • Expected a type, but ‘?dude :: Int’ is a constraint
    • In the type signature: thing3 :: (?dude :: Int) -> Int

T3540.hs:16:11: error: [GHC-83865]
    • Expected a type, but ‘Eq a’ is a constraint
    • In the type signature: thing4 :: (Eq a) -> Int