Commit de7ec7f1 authored by Simon Marlow's avatar Simon Marlow
Browse files

FIX #1914: GHCi forgot all the modules that were loaded before an error

parent 5386eff0
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment