From de7ec7f188c0abfde6d50d5e7501618cc3f715ff Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 30 Nov 2007 13:07:34 +0000 Subject: [PATCH] FIX #1914: GHCi forgot all the modules that were loaded before an error --- compiler/main/GHC.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs index dd92677..967daf3 100644 --- a/compiler/main/GHC.hs +++ b/compiler/main/GHC.hs @@ -1153,7 +1153,7 @@ upsweep hsc_env old_hpt stable_mods cleanup sccs = do cleanup -- Remove unwanted tmp files between compilations case mb_mod_info of - Nothing -> return (Failed, hsc_env, []) + Nothing -> return (Failed, hsc_env, done) Just mod_info -> do let this_mod = ms_mod_name mod -- 1.7.10.4