#4089: Empty Show instance + phantom type + GHCi = out of memory
-----------------------+----------------------------------------------------
Reporter: japple | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 6.12.2 | Keywords:
Os: Linux | Testcase:
Architecture: x86 | Failure: GHCi crash
-----------------------+----------------------------------------------------
{{{
module ShowMemory where
data M a = M
instance Show a => Show (M a)
}}}
Load in GHCi, type "M" and then enter at the prompt.
It kills all my memory. I have no .ghci
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4089>
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