[commit: ghc] ghc-7.8: Use correct precedence when printing contexts with class operators (d71f316)

git at git.haskell.org git at git.haskell.org
Mon Nov 3 13:41:41 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/d71f316ef4acb6a967a1f07bc4c1144e553a3ac9/ghc

>---------------------------------------------------------------

commit d71f316ef4acb6a967a1f07bc4c1144e553a3ac9
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Oct 2 17:47:21 2014 +0100

    Use correct precedence when printing contexts with class operators
    
    Fixes Trac #9658
    
    (cherry picked from commit 48089ccf4f1f239b3268b2cb52b8aa0f7356485b)
    
    Conflicts:
    	compiler/types/TypeRep.lhs
    	testsuite/tests/ghci/scripts/all.T
    	testsuite/tests/perf/compiler/T5837.stderr
    	testsuite/tests/typecheck/should_fail/ContextStack2.stderr
    	testsuite/tests/typecheck/should_fail/T8392a.stderr


>---------------------------------------------------------------

d71f316ef4acb6a967a1f07bc4c1144e553a3ac9
 compiler/types/TypeRep.lhs                                     | 10 ++++++----
 testsuite/tests/gadt/T7558.stderr                              |  2 +-
 testsuite/tests/ghci/scripts/Defer02.stderr                    |  8 ++++----
 testsuite/tests/ghci/scripts/T9658.script                      |  4 ++++
 testsuite/tests/ghci/scripts/T9658.stdout                      |  1 +
 testsuite/tests/ghci/scripts/all.T                             |  1 +
 testsuite/tests/indexed-types/should_compile/Simple14.stderr   |  2 +-
 testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr |  2 +-
 testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr  |  2 +-
 testsuite/tests/indexed-types/should_fail/T2239.stderr         |  4 ++--
 testsuite/tests/indexed-types/should_fail/T4093a.stderr        |  4 ++--
 testsuite/tests/perf/compiler/T5837.stderr                     |  4 ++--
 testsuite/tests/polykinds/T7230.stderr                         |  3 ++-
 testsuite/tests/roles/should_compile/Roles3.stderr             |  2 +-
 testsuite/tests/typecheck/should_fail/ContextStack2.stderr     |  4 ++--
 testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr  |  2 +-
 testsuite/tests/typecheck/should_fail/T5858.stderr             |  2 +-
 testsuite/tests/typecheck/should_fail/T7857.stderr             |  2 +-
 testsuite/tests/typecheck/should_fail/T8392a.stderr            |  6 +++---
 19 files changed, 37 insertions(+), 28 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc d71f316ef4acb6a967a1f07bc4c1144e553a3ac9


More information about the ghc-commits mailing list