summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod47.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-01-05 12:56:46 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2015-01-06 14:18:53 +0000
commitda9b2ec3e19edb1de0e73e8f32aa0443743f072c (patch)
treee917140da7b725bce9a44d048ac6013af113d6be /testsuite/tests/module/mod47.stderr
parentd4f460feeb263f794774bf2fc330a48bde4ea81c (diff)
downloadhaskell-da9b2ec3e19edb1de0e73e8f32aa0443743f072c.tar.gz
Print singleton consraints without parens
The main change is in TypeRep.pprTheta, so we print Eq a for a singleton, but (Eq a, Show a) for multiple constraints. There are lots of trivial knock-on changes to error messages
Diffstat (limited to 'testsuite/tests/module/mod47.stderr')
-rw-r--r--testsuite/tests/module/mod47.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/module/mod47.stderr b/testsuite/tests/module/mod47.stderr
index 98bfdab685..6df1a6b63b 100644
--- a/testsuite/tests/module/mod47.stderr
+++ b/testsuite/tests/module/mod47.stderr
@@ -2,7 +2,7 @@
mod47.hs:6:10:
Could not deduce (Num a)
arising from the superclasses of an instance declaration
- from the context (Eq a, Enum a)
+ from the context: (Eq a, Enum a)
bound by the instance declaration at mod47.hs:6:10-34
Possible fix:
add (Num a) to the context of the instance declaration