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

T14066e.hs:13:65: error:
    • Expected a type, but ‘c'’ has kind ‘k’
      ‘k’ is a rigid type variable bound by
        the type signature for:
          j :: forall {k} {k1} (c :: k) (b :: k1).
               Proxy a -> Proxy b -> Proxy c -> Proxy b
        at T14066e.hs:12:5-61
    • In the kind ‘c'’
      In the first argument of ‘Proxy’, namely ‘(b' :: c')’
      In an expression type signature: Proxy (b' :: c')
    • Relevant bindings include
        p2 :: Proxy c (bound at T14066e.hs:13:27)
        j :: Proxy a -> Proxy b -> Proxy c -> Proxy b
          (bound at T14066e.hs:13:5)