Bug: GHC hangs rather than reporting an occurs check error

Bryan Donlan bdonlan at gmail.com
Thu Mar 20 02:39:27 EDT 2008


On Thu, Mar 20, 2008 at 2:38 AM, Bryan Donlan <bdonlan at gmail.com> wrote:
> Hi all,
>
>  I've found a case where GHC will hang (consuming more and more memory)
>  when it should report an occurs check error. The test case is at
>  http://fushizen.net/~bd/kaos-ghc.loop.tgz - the error in question is
>  that the arguments in the StateT instance for HOLift are reversed like so:

Forgot to mention this, but I'm using GHC 6.8.2 on ubuntu hardy.


More information about the Glasgow-haskell-users mailing list