#4057: Modifying TVar after calling always causes freeze/spin in GHCi
---------------------------------+------------------------------------------
Reporter: Baughn | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 6.12.1 | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
The attached code, if run under GHCi, causes GHCi to freeze while spinning
the CPU. It works correctly when compiled, or if the ">> modifyTVar" part
of f is commented out.
(For the curious: Yes, I believed always does what check does. Thankfully
nothing had made its way into production code, because of this bug. The
documentation should probably be clarified.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4057>
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