summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T19187a.stderr
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@richarde.dev>2021-01-14 21:36:43 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-27 17:41:44 -0500
commit189efc39e0cf111bcb6d2ad5d474fcd01a706eb8 (patch)
tree420e4ecfc6ddb644c3321a36b95f444933363943 /testsuite/tests/typecheck/should_fail/T19187a.stderr
parent2f689a8bdf0bb6342794e0d8243e86e6cc4f4962 (diff)
downloadhaskell-189efc39e0cf111bcb6d2ad5d474fcd01a706eb8.tar.gz
Remove some redundant validity checks.
This commit also consolidates documentation in the user manual around UndecidableSuperClasses, UndecidableInstances, and FlexibleContexts. Close #19186. Close #19187. Test case: typecheck/should_compile/T19186, typecheck/should_fail/T19187{,a}
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T19187a.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T19187a.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T19187a.stderr b/testsuite/tests/typecheck/should_fail/T19187a.stderr
new file mode 100644
index 0000000000..32ddde3f39
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T19187a.stderr
@@ -0,0 +1,6 @@
+
+T19187a.hs:7:10: error:
+ • The constraint ‘Eq Int’
+ is no smaller than the instance head ‘Eq T’
+ (Use UndecidableInstances to permit this)
+ • In the instance declaration for ‘Eq T’