[GHC] #13704: -main-is flag should change exports in default module header

GHC ghc-devs at haskell.org
Tue Oct 2 14:00:37 UTC 2018


#13704: -main-is flag should change exports in default module header
-------------------------------------+-------------------------------------
        Reporter:  cdsmith           |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Krzysztof Gogolewski <krz.gogolewski@…>):

 In [changeset:"abfb91fb0ea27eb618f297b1d3ba60cfa021afe0/ghc"
 abfb91fb/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="abfb91fb0ea27eb618f297b1d3ba60cfa021afe0"
 resolve T13704

 Summary: allow -main-is to change export list for default module
 header, allowing one to change the entry point to one's program.

 Test Plan: ./validate

 Reviewers: bgamari, nomeata, mpickering

 Reviewed By: mpickering

 Subscribers: mpickering, rwbarton, carter

 GHC Trac Issues: #13704

 Differential Revision: https://phabricator.haskell.org/D5189
 }}}

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


More information about the ghc-tickets mailing list