[GHC] #11836: Hello World Bug - silent stdout errors

GHC ghc-devs at haskell.org
Thu Apr 14 19:47:26 UTC 2016


#11836: Hello World Bug - silent stdout errors
-------------------------------------+-------------------------------------
        Reporter:  bit               |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      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 j.waldmann):

 So the actual bug report is: behaviour of "main = hClose stdout" under
 runhaskell differs from behaviour of compiled code. Seems like a
 documentation bug (if any): I think you cannot close stdout in ghci, and
 runhaskell is something like ghci.

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


More information about the ghc-tickets mailing list