DynFlags: Introduce -show-mods-loaded flag
This flag reintroduces the verbose module name output produced by GHCi's :load command behind a new flag, -show-mods-loaded. This was originally removed in D3651 but apparently some tools (e.g. haskell-mode) rely on this output. Addresses #14427. Test Plan: Validate Reviewers: svenpanne Reviewed By: svenpanne Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D4164 (cherry picked from commit 8613e61d)
Showing
- compiler/main/DynFlags.hs 2 additions, 0 deletionscompiler/main/DynFlags.hs
- docs/users_guide/ghci.rst 13 additions, 0 deletionsdocs/users_guide/ghci.rst
- ghc/GHCi/UI.hs 26 additions, 12 deletionsghc/GHCi/UI.hs
- testsuite/tests/driver/T8526/T8526.stdout 2 additions, 2 deletionstestsuite/tests/driver/T8526/T8526.stdout
- testsuite/tests/ghci/scripts/T1914.stdout 3 additions, 3 deletionstestsuite/tests/ghci/scripts/T1914.stdout
- testsuite/tests/ghci/scripts/T6105.stdout 2 additions, 2 deletionstestsuite/tests/ghci/scripts/T6105.stdout
- testsuite/tests/ghci/scripts/ghci058.stdout 2 additions, 2 deletionstestsuite/tests/ghci/scripts/ghci058.stdout
Loading
Please register or sign in to comment