FIX BUILD
authorSimon Marlow <simonmar@microsoft.com>
Wed, 7 Nov 2007 16:16:12 +0000 (16:16 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 7 Nov 2007 16:16:12 +0000 (16:16 +0000)
Sorry, should have pushed with previous batch of changes.

compiler/ghci/InteractiveUI.hs

index 25ad9d8..74310a3 100644 (file)
@@ -993,8 +993,8 @@ afterLoad ok session maybe_context = do
      Just (as,bs) -> do
         r <- io $ Exception.try (GHC.setContext session as bs)
         case r of
      Just (as,bs) -> do
         r <- io $ Exception.try (GHC.setContext session as bs)
         case r of
-           Left err -> setContextAfterLoad session loaded_mods
-           Right _  -> return ()
+           Left _err -> setContextAfterLoad session loaded_mods
+           Right _   -> return ()
 
   modulesLoadedMsg ok (map GHC.ms_mod_name loaded_mods)
 
 
   modulesLoadedMsg ok (map GHC.ms_mod_name loaded_mods)