#1353: GHCi hangs when type checking
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Linux | Testcase:
Architecture: x86 |
--------------------------------------+-------------------------------------
Comment (by [EMAIL PROTECTED]):
I've managed to halve the size of the source to 200 lines and still get
the hang. SessionPruned.hs is as stripped down as I can (immediately)
think of. I'll keep trying to get it smaller though.
So now in ghc 6.6 I have:
{{{
*Session> :t Proc $ mkLoop (returnS ())
blah blah - fine, no problem
*Session> :t let p1 = Proc $ mkLoop (returnS ()); p2 = Proc $ mkLoop
(returnS ()) in p2
hung
*Session> :t let p1 = Proc $ mkLoop (returnS ()); p2 = Proc $ mkLoop
(returnS ()) in p1
hung
}}}
In ghc 20070514 I have:
{{{
*Session> :t mkLoop (returnS ())
blah blah - fine, no problem
*Session> :t Proc $ mkLoop (returnS ())
hung
}}}
and the let versions hang in HEAD too. I do realise how crappy it is to
post a bug report with a 200 line source, I'll try and prune it down
further.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1353>
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