summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_fail/T15743d.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/dependent/should_fail/T15743d.stderr')
-rw-r--r--testsuite/tests/dependent/should_fail/T15743d.stderr16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/dependent/should_fail/T15743d.stderr b/testsuite/tests/dependent/should_fail/T15743d.stderr
new file mode 100644
index 0000000000..d982d16980
--- /dev/null
+++ b/testsuite/tests/dependent/should_fail/T15743d.stderr
@@ -0,0 +1,16 @@
+
+T15743d.hs:10:1: error:
+ • These kind and type variables: k
+ (c :: k)
+ (a :: Proxy c)
+ (b :: Proxy d)
+ (x :: SimilarKind a b)
+ are out of dependency order. Perhaps try this ordering:
+ k
+ (d :: k)
+ (c :: k)
+ (a :: Proxy c)
+ (b :: Proxy d)
+ (x :: SimilarKind a b)
+ NB: Implicitly declared variables come before others.
+ • In the data type declaration for ‘T2’