#1657: throwTo + unsafeInterleaveIO oddness
-------------------------------+--------------------------------------------
    Reporter:  guest           |        Owner:              
        Type:  bug             |       Status:  new         
    Priority:  normal          |    Milestone:  _|_         
   Component:  Runtime System  |      Version:  6.6.1       
    Keywords:                  |     Testcase:              
   Blockedby:                  |   Difficulty:  Unknown     
          Os:  Windows         |     Blocking:              
Architecture:  x86             |      Failure:  None/Unknown
-------------------------------+--------------------------------------------
Changes (by michalt):

 * cc: michal.terep...@… (added)
  * failure:  => None/Unknown


Comment:

 I can't reproduce that with current HEAD (i.e. it never falls into the
 start-run-catch-throw loop). Although the computation never actually
 reaches the
 "complete" state - here's the end of output from a run:
 {{{
 [snip]
 # computing 274753
 # computing 274754
 # computing 274755
 # computing 274756
 # computing 274757
 # computing 274758
 *** throwing 9
 # computing 274759
 *** caught 9
 ^ Got  23025
 ^ Last 274758
 }}}
 Is that expected?

 Btw. You need to change import to use `OldExecption` to get the program to
 compile.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1657#comment:9>
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