Be less verbose when printing Names when we don't know what's in scope
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 22 Apr 2014 16:17:31 +0000 (17:17 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 24 Apr 2014 07:43:24 +0000 (08:43 +0100)
commit134b722349b83c746f8f52f2dbd99b89d23b644c
treea40994f61ccea48d706088a7158daf1dc104cf90
parent68a1e679f0b97db99c552c3dbf69e651291826fa
Be less verbose when printing Names when we don't know what's in scope

Previously we always printed qualified names, but that makes a lot of debug or
warning output very verbose. So now we only print qualified names with -dppr-debug.

Civilised output (from pukka error messages, with the environment available) is
unaffected
compiler/stranal/WwLib.lhs
compiler/utils/Outputable.lhs
testsuite/tests/plugins/plugins02.stderr
testsuite/tests/quasiquotation/T7918.stdout
testsuite/tests/safeHaskell/safeLanguage/SafeLang15.stderr
testsuite/tests/simplCore/should_compile/T5776.stdout
testsuite/tests/simplCore/should_compile/T7785.stderr
testsuite/tests/simplCore/should_compile/T8848.stderr
testsuite/tests/simplCore/should_compile/T8848a.stderr
testsuite/tests/simplCore/should_run/T2486.stderr