[GHC] #13129: Warn about home module not listed on command line

GHC ghc-devs at haskell.org
Fri Jan 20 22:25:49 UTC 2017


#13129: Warn about home module not listed on command line
-------------------------------------+-------------------------------------
        Reporter:  Yuras             |                Owner:  Yuras
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  phab:D2977
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"15b9a85ef03e2729d487a6f8460be8880c797609/ghc"
 15b9a85e/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="15b9a85ef03e2729d487a6f8460be8880c797609"
 Warn on missing home modules

 Introduce a warning, -Wmissing-home-modules, to warn about home modules,
 not listed in command line.

 It is usefull for cabal when user fails to list a module in
 `exposed-modules` and `other-modules`.

 Test Plan: make TEST=MissingMod

 Reviewers: mpickering, austin, bgamari

 Reviewed By: bgamari

 Subscribers: simonpj, mpickering, thomie

 Differential Revision: https://phabricator.haskell.org/D2977

 GHC Trac Issues: #13129
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13129#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list