summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/TyVarTvKinds3.stderr
blob: b0b79244447945c1b96ab3719dd8afa7f43b8089 (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
        the data constructor ‘MkBad’
        at TyVarTvKinds3.hs:9:22-23
      ‘k1’ is a rigid type variable bound by
        the data constructor ‘MkBad’
        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)’