Improve [-Wmissing-home-modules] error message
At the moment when this warning is triggered, GHC emits something like
<no location info>: warning: [-Wmissing-home-modules]
Modules are not listed in command line: Language.Haskell.GHC.ExactPrint
It is not clear that this is actually reporting a problem in the cabal file which has incomplete "other-modules" for one or other target.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.2.1-rc2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | hvr |
| Operating system | |
| Architecture |