diff options
author | simonpj@microsoft.com <unknown> | 2009-12-18 16:35:49 +0000 |
---|---|---|
committer | simonpj@microsoft.com <unknown> | 2009-12-18 16:35:49 +0000 |
commit | 3545603ca61d81093151307477bdecb7910cb1b7 (patch) | |
tree | f3194deeeb979556d2c58b75184aaf6dfe330f04 /compiler/utils | |
parent | 8f567db9b9b8d48c3efef7f3c229e5b7cbf3bfe6 (diff) | |
download | haskell-3545603ca61d81093151307477bdecb7910cb1b7.tar.gz |
Make warning printing a bit less noisy
Use -dppr-debug to make it noisy again
Diffstat (limited to 'compiler/utils')
-rw-r--r-- | compiler/utils/Outputable.lhs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/Outputable.lhs b/compiler/utils/Outputable.lhs index fd50fb510d..84e8b9d1d4 100644 --- a/compiler/utils/Outputable.lhs +++ b/compiler/utils/Outputable.lhs @@ -790,7 +790,7 @@ warnPprTrace :: Bool -> String -> Int -> SDoc -> a -> a warnPprTrace _ _file _line _msg x | opt_NoDebugOutput = x warnPprTrace False _file _line _msg x = x warnPprTrace True file line msg x - = trace (show (doc PprDebug)) x + = trace (show (doc defaultDumpStyle)) x where doc = sep [hsep [text "WARNING: file", text file, text "line", int line], msg] |