summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T8616.stderr
blob: 2a8b6482aae279a6599ca370a67cc1b5d72b833a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

T8616.hs:8:16: error:
    • Couldn't match kind ‘k1’ with ‘*’
      ‘k1’ is a rigid type variable bound by
        the type signature for:
          withSomeSing :: forall k1 (kproxy :: k1). Proxy kproxy
        at T8616.hs:7:1-52
      When matching types
        a0 :: *
        Any :: k1
    • In the expression: undefined :: (Any :: k)
      In an equation for ‘withSomeSing’:
          withSomeSing = undefined :: (Any :: k)
    • Relevant bindings include
        withSomeSing :: Proxy kproxy (bound at T8616.hs:8:1)

T8616.hs:8:30: error:
    • Expected a type, but ‘Any :: k’ has kind ‘k1’
    • In an expression type signature: (Any :: k)
      In the expression: undefined :: (Any :: k)
      In an equation for ‘withSomeSing’:
          withSomeSing = undefined :: (Any :: k)
    • Relevant bindings include
        withSomeSing :: Proxy kproxy (bound at T8616.hs:8:1)