[GHC] #10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..."

GHC ghc-devs at haskell.org
Thu Apr 21 13:34:33 UTC 2016


#10053: Regression on MacOS platform, error  in ghci calling main after loading
compiled code: "Too late for parseStaticFlags..."
-------------------------------------+-------------------------------------
        Reporter:  George            |                Owner:  ak3n
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  7.10.1-rc2
      Resolution:                    |             Keywords:
Operating System:  MacOS X           |         Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ak3n):

 This error occurs only if the name of module is "Main".

 E.g. this code works fine:
 {{{
 module Bug where
 main = print "hello"
 }}}

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


More information about the ghc-tickets mailing list