One-shot mode is buggy w.r.t. hs-boot files
Consider
A.hs-boot
module A where
B.hs
module B where
import {-# SOURCE #-} A
Command Line
$ ghc -c A.hs-boot B.hs
B.hs:3:1:
Bad interface file: A.hi-boot-boot
A.hi-boot-boot: openBinaryFile: does not exist (No such file or directory)
I expect the modules to get compiled cleanly. Instead I get an error.
Trac metadata
Trac field | Value |
---|---|
Version | 7.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Driver |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |