Stop -dno-debug-output suppressing -ddump-tc-trace
authorMatthew Pickering <matthewtpickering@gmail.com>
Sun, 6 Nov 2016 12:46:40 +0000 (12:46 +0000)
committerMatthew Pickering <matthewtpickering@gmail.com>
Sun, 6 Nov 2016 12:46:40 +0000 (12:46 +0000)
commit1c886eadcfbb593bb06bfff7b8a4914b5349f080
treebec78ac6e53dd206292bc8c4dd272c122bd23859
parent1cab42d88d91f61528a160c212a163f9b2147760
Stop -dno-debug-output suppressing -ddump-tc-trace

Summary:
The user manual states that -dno-debug-output should suppress
*unsolicited* debugging output which essentially amounts to calls
to `pprTrace`. Before I unified the interface of `traceTc` and
`traceRn`, the flag suppressed calls to `traceTc` but not to `traceRn`
or any other tracing function already controlled by a flag.

Thus, in order to make the behaviour more uniform, it seemed best to
remove this one special case.

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2628

GHC Trac Issues: #12691
compiler/typecheck/TcRnMonad.hs
testsuite/tests/indexed-types/should_fail/T8129.stdout