summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T7857.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/typecheck/should_fail/T7857.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/typecheck/should_fail/T7857.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/T7857.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T7857.stderr b/testsuite/tests/typecheck/should_fail/T7857.stderr
index d1e7d3bea2..bc8fed9bf2 100644
--- a/testsuite/tests/typecheck/should_fail/T7857.stderr
+++ b/testsuite/tests/typecheck/should_fail/T7857.stderr
@@ -1,7 +1,7 @@
T7857.hs:8:11:
Could not deduce (PrintfType r0) arising from a use of ‘printf’
- from the context (PrintfArg t)
+ from the context: PrintfArg t
bound by the inferred type of g :: PrintfArg t => t -> b
at T7857.hs:8:1-21
The type variable ‘r0’ is ambiguous