
On Sat, Sep 22, 2007 at 10:45:50AM +0200, Dirk Kleeblatt wrote:
Dear *,
I just failed to get generic classes working with snapshot ghc-6.8.0.20070920-i386-unknown-linux.tar.bz2. Are generics broken in the RC, or am I doing something wrong?
I tried the following module: ... Gen.hs:13:0: Can't find interface-file declaration for variable GHC.Base.$gfromBool Probable cause: bug in .hi-boot file, or inconsistent .hi file Use -ddump-if-trace to get an idea of which file caused the error In the first argument of `a', namely `(GHC.Base.$gfromBool b)' In the first argument of `(\ a -> a)', namely `(a (GHC.Base.$gfromBool b))' In the expression: (\ a -> a) (a (GHC.Base.$gfromBool b)) Failed, modules loaded: none.
This is definitely a GHC bug: http://hackage.haskell.org/trac/ghc/wiki/ReportABug Stefan