[GHC] #13727: `-Wmissing-home-modules` doesn't properly recognize filepath-qualified modules

GHC ghc-devs at haskell.org
Fri May 19 08:54:56 UTC 2017


#13727: `-Wmissing-home-modules` doesn't properly recognize filepath-qualified
modules
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                Owner:  Yuras
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.2.1-rc1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  error/warning at compile-time      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hvr):

 Replying to [comment:2 Yuras]:
 > What if we just ignore "Main" module unconditionally, and don't generate
 the warning for it? Will it work for cabal?

 Yeah, I think that's a good enough hack for now. Can we ignore the Main
 module only when we compile an executable?

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


More information about the ghc-tickets mailing list