summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_fail/T14066e.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/dependent/should_fail/T14066e.stderr')
-rw-r--r--testsuite/tests/dependent/should_fail/T14066e.stderr18
1 files changed, 4 insertions, 14 deletions
diff --git a/testsuite/tests/dependent/should_fail/T14066e.stderr b/testsuite/tests/dependent/should_fail/T14066e.stderr
index 03a2b9255d..ee903d6b4c 100644
--- a/testsuite/tests/dependent/should_fail/T14066e.stderr
+++ b/testsuite/tests/dependent/should_fail/T14066e.stderr
@@ -1,20 +1,10 @@
-T14066e.hs:13:59: error:
- • Couldn't match kind ‘k’ with ‘*’
- ‘k’ is a rigid type variable bound by
- the type signature for:
- j :: forall {k} {k1} (c :: k) (b :: k1).
- Proxy a -> Proxy b -> Proxy c -> Proxy b
- at T14066e.hs:12:5-61
- When matching kinds
- k1 :: *
- c :: k
- Expected kind ‘c’, but ‘b'’ has kind ‘k1’
- • In the first argument of ‘Proxy’, namely ‘(b' :: c')’
+T14066e.hs:13:65: error:
+ • Expected a type, but ‘c'’ has kind ‘k1’
+ • In the kind ‘c'’
+ In the first argument of ‘Proxy’, namely ‘(b' :: c')’
In an expression type signature: Proxy (b' :: c')
- In the expression: p1 :: Proxy (b' :: c')
• Relevant bindings include
p2 :: Proxy c (bound at T14066e.hs:13:27)
- p1 :: Proxy b (bound at T14066e.hs:13:10)
j :: Proxy a -> Proxy b -> Proxy c -> Proxy b
(bound at T14066e.hs:13:5)