summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T7368a.stderr
blob: 2fcb92f2094fa0db2e2ea9a5d70d35a1823882bf (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: f (Bad f)
        Actual: 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)