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

GHC ghc-devs at haskell.org
Sun Nov 11 00:23:29 UTC 2018


#13704: -main-is flag should change exports in default module header
-------------------------------------+-------------------------------------
        Reporter:  cdsmith           |                Owner:  chessai
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.6.2
       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 monoidal):

 The commit was pushed to ghc master branch (that will become 8.8 in the
 future).

 Initially, I marked this ticket as 'merge' which means it would be a
 candidate for cherrypicking to the ghc-8.6 branch (at that time, that was
 the branch that would become 8.6.2). However, before the commit was pushed
 to ghc-8.6, #15702 was reported. Seeing that we might have a potentially
 breaking regression, I removed the 'merge' status so that the commit won't
 be put in 8.6.2.

 I didn't revert the commit, as there was no hurry and I hoped there would
 be a larger discussion about solutions at #15702. If nothing happens, I'll
 revert the commit; please speak up if you're interested in a different
 solution.

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


More information about the ghc-tickets mailing list