Changes between Initial Version and Version 1 of Ticket #8198, comment 1


Ignore:
Timestamp:
Aug 30, 2013 12:48:36 AM (8 months ago)
Author:
parcs
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8198, comment 1

    initial v1  
    11The problem is that when compiling `A.hs-boot`, module A's hs-boot file is added to the finder cache instead of its corresponding source file. So when the interface file for module A is requested, the finder cache returns "A.hi-boot". It then appends "-boot" to the end of that to get "A.hi-boot-boot". 
    22 
    3 Since it is assumed that every home module location in the finder cache corresponds to a source file, the correct solution is to always add the module's source-file location to the finder cache, even if the current file happens to be an hs-boot file. 
     3Since it is assumed that every home-module location in the finder cache corresponds to a source file, the correct solution is to always add the home-module's source-file location to the finder cache, even if the current file happens to be an hs-boot file.