Got a strange one.  I am compiling two files using GHC, one of which
depends on the other.  The first compiles just fine, but the second
compile gives an error on the *hi* file of the first.  Specifically:

dlb@hudson temp]$ ghc -c -fallow-undecidable-instances -fglasgow-exts 
-fallow-overlapping-instances Structures.hs
NOTE: Simplifier still going after 4 iterations; bailing out.
ghc: module version changed to 1; reason: no old .hi file
[dlb@hudson temp]$ ghc -c SymbolTable.hs
 
Structures.hi:47:
    Too many parameters for class `SortedList'
    In the class declaration for `SortedList'


Compilation had errors

This is part of a much larger system; however, it seems to be
contained to these two files (as above).  Note the experimental
flags.  I am using ghc 4.01, patch level 0, on a Linux system running
RedHat 5.0.

I would be happy to tar up the files, run it with -v, or whatever if
this is not a known bug.  This includes both the source and the .hi
files, if that helps.

Happy new year, everyone.

                                        Dave Barton <*>
                                        [EMAIL PROTECTED] )0(
                                        http://www.averstar.com/~dlb

Reply via email to