summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T22648a.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T22648a.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T22648a.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T22648a.stderr b/testsuite/tests/typecheck/should_fail/T22648a.stderr
new file mode 100644
index 0000000000..3f8eb41adc
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T22648a.stderr
@@ -0,0 +1,7 @@
+
+T22648a.hs:7:14: error: [GHC-25115]
+ • Visibility of forall-bound variables is not compatible
+ Expected: () -> forall a b. a -> b -> a
+ Actual: () -> forall {a} {b}. a -> b -> a
+ • In the expression: const_inf
+ In an equation for ‘const_spec’: const_spec = const_inf