diff options
author | Richard Eisenberg <rae@richarde.dev> | 2021-01-14 21:36:43 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-01-27 17:41:44 -0500 |
commit | 189efc39e0cf111bcb6d2ad5d474fcd01a706eb8 (patch) | |
tree | 420e4ecfc6ddb644c3321a36b95f444933363943 /testsuite/tests/typecheck/should_fail/T19187a.stderr | |
parent | 2f689a8bdf0bb6342794e0d8243e86e6cc4f4962 (diff) | |
download | haskell-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.stderr | 6 |
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’ |