[GHC] #9086: main :: IO Int does different things with runghc and when compiled

GHC ghc-devs at haskell.org
Mon Jul 7 07:53:17 UTC 2014


#9086: main :: IO Int does different things with runghc and when compiled
-------------------------------------+-------------------------------------
        Reporter:  nh2               |            Owner:  gintas
            Type:  bug               |           Status:  patch
        Priority:  normal            |        Milestone:  7.10.1
       Component:  Compiler          |          Version:  7.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  Incorrect result  |       Difficulty:  Easy (less than 1
  at runtime                         |  hour)
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-------------------------------------

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"55e7ab1210975e6276f3cab3ac0e1f35bcd772f0/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="55e7ab1210975e6276f3cab3ac0e1f35bcd772f0"
 Do not print the result of 'main' after invoking ':main' (fixes #9086).
 }}}

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


More information about the ghc-tickets mailing list