[GHC] #11647: GHCi does not honour implicit `module Main (main) where` for re-exported `main`s

GHC ghc-devs at haskell.org
Sun Nov 11 13:30:19 UTC 2018


#11647: GHCi does not honour implicit `module Main (main) where` for re-exported
`main`s
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                Owner:  RolandSenn
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.8.1
       Component:  GHCi              |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHC rejects       |            Test Case:  make test
  valid program                      |  TEST=T11647
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D5162
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"400f3ed8ca830513ac6870d28bf46ed6b6bb720b/ghc" 400f3ed/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="400f3ed8ca830513ac6870d28bf46ed6b6bb720b"
 GHCi does not need a main function

 Summary: In GHCi we don't check anymore, whether a main function is
 exported.

 Test Plan: make test TEST=T11647

 Reviewers: hvr, osa1, monoidal, mpickering, bgamari

 Reviewed By: osa1, mpickering

 Subscribers: rwbarton, carter

 GHC Trac Issues: #11647

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

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


More information about the ghc-tickets mailing list