#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 <[EMAIL PROTECTED]>
* 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_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs