-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
GHCRequires changing GHC and/or the RTSRequires changing GHC and/or the RTSMuniHac 25Tasks worked on or created during MuniHac25Tasks worked on or created during MuniHac25
Description
It looks like 2b54e7f didn't fix what I thought it did in the flushing logic.
A simple program highlights this problem:
main = do
putStrLn "Hello"
putStrLn "Oh"
putStrLn "No"
If you break on the first print, then step, you should see "Hello"
. But you don't.
If you added hFlush stdout
it would work.
The fix to this ticket should include a test which stops on that line and then steps and verifies the output.
Looking at the commit I linked and grepping for hSetBuffering
will show the handles that are being manipulated.
Metadata
Metadata
Assignees
Labels
GHCRequires changing GHC and/or the RTSRequires changing GHC and/or the RTSMuniHac 25Tasks worked on or created during MuniHac25Tasks worked on or created during MuniHac25