I just tried to compile this:

> module Fib where
> foreign export fib :: Int -> Int
> fib 0 = 1
> fib 1 = 1
> fib n = fib (n-1) + fib (n-2)

using GHC 4.08 under Linux,

> $ ghc -c Fib.hs -fglasgow-exts
>
> panic! (the `impossible' happened):
>       tcLookupGlobalValue: <THIS>.PrelIOBase.returnIO{-0B,s-}
> 
> Please report it as a compiler bug to [EMAIL PROTECTED]

Can someone check whether this has been fixed in more recent versions
of the compiler?

Regards,
    Malcolm

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to