summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T11399.stderr
blob: 4af1c57b7526ee08211d64322fff3cad78fe4fc4 (plain)
1
2
3
4
5
6
7
8
9

T11399.hs:10:32: error:
    • Couldn't match kind ‘*’ with ‘GHC.Types.RuntimeRep’
      When matching kinds
        a :: * -> *
        TYPE :: GHC.Types.RuntimeRep -> *
      Expected kind ‘* -> *’, but ‘UhOh a’ has kind ‘a * -> *’
    • In the first argument of ‘Functor’, namely ‘UhOh a’
      In the instance declaration for ‘Functor (UhOh a)’