#5365: Finalizer running prematurely in ghci
------------------------------------------+---------------------------------
  Reporter:  ekmett                       |          Owner:  simonmar        
      Type:  bug                          |         Status:  closed          
  Priority:  normal                       |      Milestone:                  
 Component:  GHCi                         |        Version:  7.0.3           
Resolution:  invalid                      |       Keywords:  finalizers      
  Testcase:                               |      Blockedby:                  
Difficulty:                               |             Os:  Unknown/Multiple
  Blocking:                               |   Architecture:  Unknown/Multiple
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------

Comment(by ezyang):

 I'd like to remark that it is not at all clear from the documentation at
 System.Mem.Weak that there is no continuity of objects between thunks and
 evaluated values. I was going to also give an example of how the behavior
 was different if you just did a normal Haskell file, but I couldn't get
 the finalizer to run at all in that case. Oops.

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