GHCi does no respect -fforce-recomp
To my delightful surprise ghc --make
respects -fforce-recomp
, when given in a source file with OPTIONS_GHC
.
But GHCi
does not respect it.
Steps to reproduce:
-- file Bar.hs
{-# OPTIONS_GHC -fforce-recomp #-}
module Bar where
$ ghci Bar.hs
*Bar> :reload
Expected result: Bar.hs
is recompiled on :reload
Actual result: Nothing is recompiled on :reload
Trac metadata
Trac field | Value |
---|---|
Version | 7.4.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |