-fforce-recomp does not re-summarise modules
-fforce-recomp should re-summarise modules so that the source file will get re-preprocessed. Otherwise a modification to an #include
'd file will not get picked up.
$ ghci -XCPP -v0 -fforce-recomp
Prelude> :! echo '#include "A.hs-inc"' > A.hs
Prelude> :! echo 'a = True' > A.hs-inc
Prelude> :l A
*Main> a
True
*Main> :! echo 'a = False' > A.hs-inc
*Main> :r
*Main> a
True
*Main>
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Driver |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |