summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/TyVarTvKinds3.stderr
blob: 872fe966840a428556b7018ac65600747a68fcc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

TyVarTvKinds3.hs:9:62: error:
    • Expected kind ‘k1’, but ‘b’ has kind ‘k2’
      ‘k2’ is a rigid type variable bound by
        an explicit forall k1 k2 (a :: k1) (b :: k2)
        at TyVarTvKinds3.hs:9:22-23
      ‘k1’ is a rigid type variable bound by
        an explicit forall k1 k2 (a :: k1) (b :: k2)
        at TyVarTvKinds3.hs:9:19-20
    • In the second argument of ‘SameKind’, namely ‘b’
      In the first argument of ‘Bad’, namely ‘(SameKind a b)’
      In the type ‘Bad (SameKind a b)’