summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T14904a.stderr
blob: 089e7bedebe89e695d1c5298b986380145c2c324 (plain)
1
2
3
4
5
6
7
8
9
10

T14904a.hs:10:6: error:
    • Expected kind ‘forall (a :: k1). g a’, but ‘f’ has kind ‘k’
      Cannot equate type variable ‘k’
      with a kind involving polytypes: forall (a :: k1). g a
      ‘k’ is a rigid type variable bound by
        a family instance declaration
        at T14904a.hs:10:3-30
    • In the first argument of ‘F’, namely ‘(f :: forall a. g a)’
      In the type family declaration for ‘F’