[commit: ghc] master: Make Outputable instance for HsDocString useful (ede5b51)

git at git.haskell.org git at git.haskell.org
Tue Feb 25 08:08:51 UTC 2014


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

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

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

commit ede5b5180c2a5db3f51b01dbef402d21ace9601c
Author: Mateusz Kowalczyk <fuuzetsu at fuuzetsu.co.uk>
Date:   Tue Feb 25 06:35:10 2014 +0000

    Make Outputable instance for HsDocString useful
    
    Seeing "<document comment>" when trying to debug things in Haddock is
    utterly useless and because this instance exists, we can't even make our
    own. No instance at all would be better than what it was!
    
    Admittedly, this doesn't produce the nicest output. Perhaps wrapping the
    comments in {- -} would be in order but I think it's fine until someone
    complains.


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

ede5b5180c2a5db3f51b01dbef402d21ace9601c
 compiler/hsSyn/HsDoc.hs                            |    2 +-
 .../haddock/haddock_examples/haddock.Test.stderr   |  103 +++++++++++++-------
 .../should_compile_flag_haddock/haddockA014.stderr |    2 +-
 .../should_compile_flag_haddock/haddockA015.stderr |    2 +-
 .../should_compile_flag_haddock/haddockA016.stderr |    2 +-
 .../should_compile_flag_haddock/haddockA018.stderr |    2 +-
 .../should_compile_flag_haddock/haddockA019.stderr |    2 +-
 .../should_compile_flag_haddock/haddockA020.stderr |    2 +-
 .../should_compile_flag_haddock/haddockA021.stderr |    4 +-
 .../should_compile_flag_haddock/haddockA023.stderr |    5 +-
 .../should_compile_flag_haddock/haddockA024.stderr |    2 +-
 .../should_compile_flag_haddock/haddockA025.stderr |    2 +-
 .../should_compile_flag_haddock/haddockA026.stderr |    5 +-
 .../should_compile_flag_haddock/haddockA027.stderr |    5 +-
 .../should_compile_flag_haddock/haddockA028.stderr |    3 +-
 .../should_compile_flag_haddock/haddockA029.stderr |    3 +-
 .../should_compile_flag_haddock/haddockA030.stderr |    3 +-
 .../should_compile_flag_haddock/haddockA031.stderr |    6 +-
 .../should_compile_flag_haddock/haddockA032.stderr |    8 +-
 19 files changed, 94 insertions(+), 69 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 ede5b5180c2a5db3f51b01dbef402d21ace9601c


More information about the ghc-commits mailing list