[commit: ghc] master: make TcRnMonad.lhs respect -ddump-to-file (33c029f)

git at git.haskell.org git at git.haskell.org
Wed Nov 19 23:03:29 UTC 2014


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

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

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

commit 33c029faef3b5e486def8f3a7c888dfa9f3d8cca
Author: Greg Weber <greg at gregweber.info>
Date:   Wed Nov 19 16:43:26 2014 -0600

    make TcRnMonad.lhs respect -ddump-to-file
    
    Summary: allows things such as: -ddump-to-file -ddump-splices
    
    Test Plan:
    compile with flags -ddump-to-file -ddump-splices
    verify that it does output an extra file
    
    Try out other flags.
    I noticed that with -ddump-tc there is some output going to file and some to stdout.
    
    Reviewers: hvr, austin
    
    Reviewed By: austin
    
    Subscribers: simonpj, thomie, carter
    
    Differential Revision: https://phabricator.haskell.org/D460
    
    GHC Trac Issues: #9126


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

33c029faef3b5e486def8f3a7c888dfa9f3d8cca
 compiler/ghci/RtClosureInspect.hs                  |  1 +
 compiler/main/ErrUtils.lhs                         | 21 ++++--
 compiler/typecheck/TcRnDriver.lhs                  |  6 +-
 compiler/typecheck/TcRnMonad.lhs                   | 79 +++++++++++++---------
 docs/users_guide/7.10.1-notes.xml                  | 10 +++
 .../tests/indexed-types/should_fail/T8129.stdout   |  1 -
 6 files changed, 78 insertions(+), 40 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 33c029faef3b5e486def8f3a7c888dfa9f3d8cca


More information about the ghc-commits mailing list