summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T7857.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2014-10-02 17:47:21 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2014-10-07 08:03:31 +0100
commit48089ccf4f1f239b3268b2cb52b8aa0f7356485b (patch)
tree3cb31487ed2d7f9369f7d13a188e4f0167840009 /testsuite/tests/typecheck/should_fail/T7857.stderr
parent2b59c7ac3f23dd229ddff20d991528ac742dfd24 (diff)
downloadhaskell-48089ccf4f1f239b3268b2cb52b8aa0f7356485b.tar.gz
Use correct precedence when printing contexts with class operators
Fixes Trac #9658
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 3519b3fa8d..6517b774f9 100644
--- a/testsuite/tests/typecheck/should_fail/T7857.stderr
+++ b/testsuite/tests/typecheck/should_fail/T7857.stderr
@@ -8,7 +8,7 @@ T7857.hs:8:11:
Note: there are several potential instances:
instance [safe] (PrintfArg a, PrintfType r) => PrintfType (a -> r)
-- Defined in ‘Text.Printf’
- instance [safe] a ~ () => PrintfType (IO a)
+ instance [safe] (a ~ ()) => PrintfType (IO a)
-- Defined in ‘Text.Printf’
instance [safe] IsChar c => PrintfType [c]
-- Defined in ‘Text.Printf’