Refactor printMinimalImports (#15439)
authorvrom911 <vrom911@gmail.com>
Sun, 5 Aug 2018 13:28:25 +0000 (15:28 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Sun, 5 Aug 2018 15:05:44 +0000 (17:05 +0200)
commit73683f143d352343b00b1ab4f3abeb38b81794be
tree87b8165133b6f5c663e62f6db436f477ad77a6cb
parent47e54a0902eb9b3bbb234ed8a37266b55d86e866
Refactor printMinimalImports (#15439)

Summary:
Split into getMinimalImports and printMinimalImports.
Export both functions from RnNames module.

Reviewers: bgamari, mpickering

Reviewed By: mpickering

Subscribers: mpickering, rwbarton, carter

GHC Trac Issues: #15439

Differential Revision: https://phabricator.haskell.org/D5045
compiler/rename/RnNames.hs