diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2014-10-02 17:47:21 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2014-10-07 08:03:31 +0100 |
commit | 48089ccf4f1f239b3268b2cb52b8aa0f7356485b (patch) | |
tree | 3cb31487ed2d7f9369f7d13a188e4f0167840009 /testsuite/tests/typecheck/should_fail/T7857.stderr | |
parent | 2b59c7ac3f23dd229ddff20d991528ac742dfd24 (diff) | |
download | haskell-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.stderr | 2 |
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’ |