[GHC] #15702: "-main-is" flag is broken for recent ghc-head

GHC ghc-devs at haskell.org
Wed Oct 3 22:33:57 UTC 2018


#15702: "-main-is" flag is broken for recent ghc-head
-------------------------------------+-------------------------------------
        Reporter:  terrorjack        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.6.1
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Incorrect         |  (amd64)
  error/warning at compile-time      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by cdsmith):

 On further thought, though, if -main-is specifies a module as it does
 here, then we probably shouldn't be changing the default exports on other
 modules that are not the one given.

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


More information about the ghc-tickets mailing list