summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorRyanGlScott <ryan.gl.scott@gmail.com>2016-02-09 11:06:34 +0100
committerBen Gamari <ben@smart-cactus.org>2016-02-09 14:42:25 +0100
commit1f894f298d8f90a4a49196fcda44a696e16ab769 (patch)
tree2f6946aa5ea29bfaf510ad6c242c4c11852c19d8 /testsuite
parentbfec4a6aade005b6dbd170645d4f2d062cee1d92 (diff)
downloadhaskell-1f894f298d8f90a4a49196fcda44a696e16ab769.tar.gz
Restore derived Eq instance for SrcLoc
GHC 7.10.2 and 7.10.3 had a derived `Eq` instance for `SrcLoc`, but it seems to have been removed (see 6740d70d95cb81cea3859ff847afc61ec439db4f) during GHC 8.0 development. Reviewers: hvr, austin, gridaphobe, bgamari Reviewed By: gridaphobe, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1894
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/typecheck/should_fail/T5095.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T5095.stderr b/testsuite/tests/typecheck/should_fail/T5095.stderr
index c284cda9d0..d5f86c06d7 100644
--- a/testsuite/tests/typecheck/should_fail/T5095.stderr
+++ b/testsuite/tests/typecheck/should_fail/T5095.stderr
@@ -7,7 +7,7 @@ T5095.hs:9:9: error:
-- Defined in ‘Data.Either’
instance Eq Ordering -- Defined in ‘GHC.Classes’
...plus 24 others
- ...plus 13 instance involving out-of-scope typess
+ ...plus 14 instance involving out-of-scope typess
(use -fprint-potential-instances to see them all)
(The choice depends on the instantiation of ‘a’
To pick the first instance above, use IncoherentInstances