#1586: trace output ordering  in HEAD incorrectly
----------------------------------+-----------------------------------------
    Reporter:  [EMAIL PROTECTED]  |        Owner:         
        Type:  bug                |       Status:  new    
    Priority:  normal             |    Milestone:         
   Component:  Compiler           |      Version:  6.7    
    Severity:  normal             |   Resolution:         
    Keywords:                     |   Difficulty:  Unknown
          Os:  Unknown            |     Testcase:         
Architecture:  Unknown            |  
----------------------------------+-----------------------------------------
Comment (by neil):

 {{{
 main = do
   () <- trace "hi" (return ())
   () <- trace "there" (return ())
   return () :: IO ()
 }}}

 This works fine for me in GHC 6.6.1, and HEAD from about 2 weeks ago. Are
 you sure that the monad you are in is IO? Can you give a complete program,
 including main.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1586>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to