[GHC] #10053: Too late for parseStaticFlags, error in ghci calling main after loading compiled code, regression
GHC
ghc-devs at haskell.org
Thu Feb 12 20:52:06 UTC 2015
#10053: Too late for parseStaticFlags, error in ghci calling main after loading
compiled code, regression
-------------------------------------+-------------------------------------
Reporter: George | Owner:
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 Revisions:
-------------------------------------+-------------------------------------
Comment (by George):
The workaround is to move the body of main into another function, say f,
have main simply call f, and in ghci call f rather than main
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10053#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list