Refactor printMinimalImports (#15439)
authorvrom911 <vrom911@gmail.com>
Sun, 5 Aug 2018 13:28:25 +0000 (15:28 +0200)
committerBen Gamari <ben@smart-cactus.org>
Mon, 6 Aug 2018 22:23:35 +0000 (18:23 -0400)
commitf6e889fd1b9aa4e6f3ddaf69bc9446a7ca86fc8f
treee19e82ba9ae56d4ede624797e741a72840783339
parentf4e54330d14c1601128d6ab3750a10709c05a427
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

(cherry picked from commit 73683f143d352343b00b1ab4f3abeb38b81794be)
compiler/rename/RnNames.hs