--show-iface: Qualify all non-local names
authorSimon Jakobi <simon.jakobi@gmail.com>
Sun, 12 Aug 2018 09:10:39 +0000 (11:10 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Sun, 12 Aug 2018 09:10:40 +0000 (11:10 +0200)
commitd42eef344a71990d12f27e88cdf10ba0b2a2f34b
treec38cdb9ba3ff00e86480d92e80ecdc59d2b0de1f
parent193eeee6bdbd5b2ec38e26c70e8aa79ce7bd2f99
--show-iface: Qualify all non-local names

Summary:
In order to disambiguate names from different modules, qualify all names
that don't originate in the current module.

Also update docs for QueryQualifyName

Test Plan: validate

Reviewers: simonpj, bgamari

Reviewed By: simonpj

Subscribers: rwbarton, thomie, carter, tdammers

GHC Trac Issues: #15269

Differential Revision: https://phabricator.haskell.org/D4852
compiler/iface/LoadIface.hs
compiler/utils/Outputable.hs
testsuite/tests/showIface/Orphans.stdout
testsuite/tests/simplCore/should_compile/T4306.stdout
testsuite/tests/simplCore/should_compile/T4918.stdout