summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T11399.stderr
blob: e5c9e0e37cd0b64bb3f3d539a760b38d07dcc39f (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)’