summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_fail/T14066.stderr
blob: 240108c296423499fb19c755901597009c95ae36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

T14066.hs:15:59: error:
    • Expected kind ‘k0’, but ‘b’ has kind ‘k’
        because kind variable ‘k’ would escape its scope
      This (rigid, skolem) kind variable is bound by
        an explicit forall k (b :: k)
        at T14066.hs:15:29-59
    • In the second argument of ‘SameKind’, namely ‘b’
      In the type signature: g :: forall k (b :: k). SameKind a b
      In the expression:
        let
          g :: forall k (b :: k). SameKind a b
          g = undefined
        in ()
    • Relevant bindings include x :: Proxy a (bound at T14066.hs:15:4)