diff options
author | Evan Rutledge Borden <eborden@frontrowed.com> | 2017-11-21 18:06:01 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-11-21 21:11:16 -0500 |
commit | 63e4ac37d7268e063cb6adcea89e1e8716c5de89 (patch) | |
tree | 3d0a04ae40369f660f131e16a3708719adcd1b4a /compiler/parser | |
parent | f376ebac29d8dab023482a21ecfbc4dc032ab23e (diff) | |
download | haskell-63e4ac37d7268e063cb6adcea89e1e8716c5de89.tar.gz |
Add warn-missing-export-lists
Many industrial users have aligned around the idea that implicit exports
are an anti-pattern. They lead to namespace pollution and byzantine
naming schemes. They also prevent GHC's dead code analysis and create
more obstacles to optimization. This warning allows teams/projects to
warn on or enforce via -Werror explicit export lists.
This warning also serves as a complement to warn-missing-import-lists.
This was originally discussed here:
https://github.com/ghc-proposals/ghc-proposals/pull/93
Test Plan: Three new minimal tests have been added to the type checker.
Reviewers: bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D4197
Diffstat (limited to 'compiler/parser')
0 files changed, 0 insertions, 0 deletions