[GHC] #1131: newArray_ allocates an array full of garbage

GHC trac at galois.com
Wed Jul 4 06:49:52 EDT 2007


#1131: newArray_ allocates an array full of garbage
-------------------------------+--------------------------------------------
    Reporter:  igloo           |        Owner:         
        Type:  bug             |       Status:  closed 
    Priority:  high            |    Milestone:  6.8    
   Component:  libraries/base  |      Version:  6.6    
    Severity:  normal          |   Resolution:  fixed  
    Keywords:                  |   Difficulty:  Unknown
          Os:  Unknown         |     Testcase:  arr018 
Architecture:  Unknown         |  
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * resolution:  => fixed
  * testcase:  => arr018
  * status:  new => closed

Comment:

 Fixed:

 {{{
 Wed Jul  4 11:20:20 BST 2007  Simon Marlow <simonmar at microsoft.com>
   * FIX #1131 (newArray_ allocates an array full of garbage)
   Now newArray_ returns a deterministic result in the ST monad, and
   behaves as before in other contexts.  The current newArray_ is renamed
   to unsafeNewArray_; the MArray class therefore has one more method
   than before.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1131>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list