summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T18451a.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T18451a.stderr')
-rw-r--r--testsuite/tests/polykinds/T18451a.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T18451a.stderr b/testsuite/tests/polykinds/T18451a.stderr
new file mode 100644
index 0000000000..fbfd3ce288
--- /dev/null
+++ b/testsuite/tests/polykinds/T18451a.stderr
@@ -0,0 +1,7 @@
+
+T18451a.hs:10:8: error:
+ • These kind and type variables: a b (c :: Const Type b)
+ are out of dependency order. Perhaps try this ordering:
+ (b :: k) (a :: Const (*) b) (c :: Const (*) b)
+ • In the type signature:
+ foo :: forall a b (c :: Const Type b). Proxy '[a, c]