summaryrefslogtreecommitdiff
path: root/testsuite/tests/ado
diff options
context:
space:
mode:
authorDavid Feuer <David.Feuer@gmail.com>2021-08-31 03:42:30 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-18 12:01:10 -0400
commit7bc16521b93f9db62190dd4397a836e101932b8c (patch)
treeb8efd9e0ca0eba008d3c4b4e46b0dbdde76eb755 /testsuite/tests/ado
parent20e6fec8106521efe7c571612d6d4353fec5c832 (diff)
downloadhaskell-7bc16521b93f9db62190dd4397a836e101932b8c.tar.gz
Add more instances for Solo
Oleg Grenrus pointed out that `Solo` was missing `Eq`, `Ord`, `Bounded`, `Enum`, and `Ix` instances, which were all apparently available for the `OneTuple` type (in the `OneTuple` package). Though only the first three really seem useful, there's no reason not to take them all. For `Ix`, `Solo` naturally fills a gap between `()` and `(,)`.
Diffstat (limited to 'testsuite/tests/ado')
-rw-r--r--testsuite/tests/ado/T13242a.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ado/T13242a.stderr b/testsuite/tests/ado/T13242a.stderr
index eb2bf062ca..f5dce341ac 100644
--- a/testsuite/tests/ado/T13242a.stderr
+++ b/testsuite/tests/ado/T13242a.stderr
@@ -29,7 +29,7 @@ T13242a.hs:13:13: error:
instance Eq Ordering -- Defined in ‘GHC.Classes’
instance Eq Integer -- Defined in ‘GHC.Num.Integer’
instance Eq () -- Defined in ‘GHC.Classes’
- ...plus 21 others
+ ...plus 22 others
...plus five instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In a stmt of a 'do' block: return (x == x)