[commit: ghc] master: Simplify OutputableBndr (0e76017)

git at git.haskell.org git at git.haskell.org
Fri Feb 17 14:00:51 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/0e7601749d53d59df528ede996d8b54352051498/ghc

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

commit 0e7601749d53d59df528ede996d8b54352051498
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Feb 17 13:58:58 2017 +0000

    Simplify OutputableBndr
    
    This replaces three methods in OutputableBndr with one,
    and adds comments.
    
    There's also a tiny change in the placement of equals signs in
    debug-prints.  I like it better that way, but if it complicates
    life for anyone we can put it back.


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

0e7601749d53d59df528ede996d8b54352051498
 compiler/basicTypes/Name.hs                        |  1 -
 compiler/coreSyn/CoreSyn.hs                        |  4 +-
 compiler/coreSyn/PprCore.hs                        | 45 +++++++++++++---------
 compiler/utils/Outputable.hs                       | 18 +++------
 .../tests/numeric/should_compile/T7116.stdout      | 36 ++++++++---------
 .../tests/simplCore/should_compile/T13156.stdout   |  8 ++--
 .../tests/simplCore/should_compile/T3772.stdout    | 32 +++++++--------
 .../tests/simplCore/should_compile/T7865.stdout    | 10 ++---
 8 files changed, 76 insertions(+), 78 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 0e7601749d53d59df528ede996d8b54352051498


More information about the ghc-commits mailing list