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

T16221a.hs:6:49: error: [GHC-25897]
    • Expected kind ‘k’, but ‘b’ has kind ‘k1’
      ‘k1’ is a rigid type variable bound by
        an explicit forall k (b :: k)
        at T16221a.hs:6:20
      ‘k’ is a rigid type variable bound by
        the data type declaration for ‘T2’
        at T16221a.hs:6:20
    • In the second argument of ‘SameKind’, namely ‘b’
      In the type ‘(SameKind a b)’
      In the definition of data constructor ‘MkT2’