#4141: Inconsistant .hi or .hi-boot compilation error
------------------------+---------------------------------------------------
    Reporter:  odj      |       Owner:              
        Type:  bug      |      Status:  new         
    Priority:  normal   |   Component:  Compiler    
     Version:  6.12.1   |    Keywords:              
          Os:  MacOS X  |    Testcase:              
Architecture:  x86      |     Failure:  None/Unknown
------------------------+---------------------------------------------------
 I get the following message from GHC and GHCI when compiling.  I am using
 -boot import for several modules in this project.  Things work fine until
 I tried calling a record syntax generated function.  All my own function
 declarations seem to work OK.

 Ouch/Structure/Bond.hs:69:85:
     Can't find interface-file declaration for variable markerSet
       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 second argument of `union', namely `(markerSet atom)'
     In the second argument of `($)', namely
         `union (singleton $ Label 0) (markerSet atom)'
     In the second argument of `($)', namely
         `findMax $ union (singleton $ Label 0) (markerSet atom)'

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4141>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to