Bug: GHC hangs rather than reporting an occurs check error

2008-03-20 Thread Bryan Donlan
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: diff

Re: Bug: GHC hangs rather than reporting an occurs check error

2008-03-20 Thread Bryan Donlan
On Thu, Mar 20, 2008 at 2:38 AM, Bryan Donlan [EMAIL PROTECTED] 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

Re: Bug: GHC hangs rather than reporting an occurs check error

2008-03-20 Thread Ian Lynagh
On Thu, Mar 20, 2008 at 02:38:56AM -0400, Bryan Donlan wrote: http://fushizen.net/~bd/kaos-ghc.loop.tgz This gives me 403 Forbidden. Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: Bug: GHC hangs rather than reporting an occurs check error

2008-03-20 Thread Bryan Donlan
On Thu, Mar 20, 2008 at 10:43 AM, Ian Lynagh [EMAIL PROTECTED] wrote: On Thu, Mar 20, 2008 at 02:38:56AM -0400, Bryan Donlan wrote: http://fushizen.net/~bd/kaos-ghc.loop.tgz This gives me 403 Forbidden. Er, typo: http://fushizen.net/~bd/kaos-ghc-loop.tgz

Re: Bug: GHC hangs rather than reporting an occurs check error

2008-03-20 Thread Ian Lynagh
On Thu, Mar 20, 2008 at 02:38:56AM -0400, Bryan Donlan wrote: 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