[GHC] #13129: Warn about home module, not listed in commang line
GHC
ghc-devs at haskell.org
Sun Jan 15 12:07:44 UTC 2017
#13129: Warn about home module, not listed in commang line
-------------------------------------+-------------------------------------
Reporter: Yuras | Owner:
Type: feature | Status: new
request |
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
It is an attempt to fix this cabal issue:
https://github.com/haskell/cabal/pull/1455
Basically, when user fails to list all modules in `exposed-modules` or
`other-modules`, cabal produces broken package.
The idea of the fix is to teach GHC to warn about home modules (not from
an other package), that are not explicitly listed in command line.
Option name `-Wmissing-home-modules` is a subject for bikeshedding.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13129>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list