Oops, I bungled the -no-recomp fix. This probably had something to do
with the fact that -no-recomp is perhaps the worst-named option in the
history of compilers, and the internal variable used to store the
value of -no-recomp actually stores (not -no-recomp), perhaps in an
attempt to reverse the confusion generated by the obsurely named
option. In the end I figured I had a 50/50 chance of getting it
right...
-- -no-recomp should also work with --make
do_recomp <- readIORef v_Recomp
- let source_unchanged' = source_unchanged && not do_recomp
+ let source_unchanged' = source_unchanged && do_recomp
-- run the compiler
hsc_result <- hscMain ghci_mode dyn_flags'