Opened 8 years ago

Last modified 8 years ago

#4141 closed bug

Inconsistant .hi or .hi-boot compilation error — at Initial Version

Reported by: odj Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.12.1
Keywords: Cc:
Operating System: MacOS X Architecture: x86
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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.


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)'

Change History (1)

Changed 8 years ago by odj

Attachment: ghc_output.txt added

Output of GHCI with -ddump-if-trace flag

Note: See TracTickets for help on using tickets.