From 684de20b363529919ea832b33b680e9ca8af2b28 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 21 Aug 2001 16:04:43 +0000 Subject: [PATCH] [project @ 2001-08-21 16:04:43 by simonmar] 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... --- ghc/compiler/main/DriverPipeline.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/compiler/main/DriverPipeline.hs b/ghc/compiler/main/DriverPipeline.hs index 68c57e4..8529d4e 100644 --- a/ghc/compiler/main/DriverPipeline.hs +++ b/ghc/compiler/main/DriverPipeline.hs @@ -1054,7 +1054,7 @@ compile ghci_mode summary source_unchanged have_object -- -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' -- 1.7.10.4