[GHC] #7060: Option -ddump-rule-rewrites doesn't dump to a file
GHC
cvs-ghc at haskell.org
Wed Jul 18 12:53:48 CEST 2012
#7060: Option -ddump-rule-rewrites doesn't dump to a file
-------------------------------+--------------------------------------------
Reporter: erikd | Owner: pcapriotti
Type: bug | Status: new
Priority: high | Milestone: 7.6.1
Component: Compiler | Version: 7.5
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Other | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Comment(by p.capriotti@…):
commit 2b341fc43b244a3cc8bc174875241821d983e16e
{{{
Author: Paolo Capriotti <p.capriotti at gmail.com>
Date: Tue Jul 17 16:24:26 2012 +0100
Remove hPrintDump and make rule dump output more consistent (#7060)
The only difference between SevDump and SevOutput in defaultLogAction
is
an extra blank line, so we don't need a separate hPrintDump function.
Also make -ddump-to-file consistent with the stdout version, by
avoiding
to add the extra empty line when dumping rules.
compiler/main/DynFlags.hs | 2 +-
compiler/main/ErrUtils.lhs | 8 +++++++-
compiler/utils/Outputable.lhs | 10 +---------
3 files changed, 9 insertions(+), 11 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7060#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list