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

T7368a.hs:8:6: error:
    • Couldn't match kind ‘*’ with ‘* -> *’
      When matching types
        f :: * -> *
        Bad :: (* -> *) -> *
      Expected type: f (Bad f)
        Actual type: Bad w0
    • In the pattern: Bad x
      In an equation for ‘fun’: fun (Bad x) = True
    • Relevant bindings include
        fun :: f (Bad f) -> Bool (bound at T7368a.hs:8:1)