From 79302d4eeecc287f0c2828a56bebacf700c27e09 Mon Sep 17 00:00:00 2001 From: sewardj Date: Mon, 27 Nov 2000 12:10:01 +0000 Subject: [PATCH] [project @ 2000-11-27 12:10:01 by sewardj] Look for "highest" module at head of list cmLoadModule returns --- ghc/compiler/ghci/InteractiveUI.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/ghci/InteractiveUI.hs b/ghc/compiler/ghci/InteractiveUI.hs index 35d03e4..8f63eec 100644 --- a/ghc/compiler/ghci/InteractiveUI.hs +++ b/ghc/compiler/ghci/InteractiveUI.hs @@ -1,5 +1,5 @@ ----------------------------------------------------------------------------- --- $Id: InteractiveUI.hs,v 1.16 2000/11/27 11:58:55 sewardj Exp $ +-- $Id: InteractiveUI.hs,v 1.17 2000/11/27 12:10:01 sewardj Exp $ -- -- GHC Interactive User Interface -- @@ -220,7 +220,7 @@ loadModule' path = do modules = mods, current_module = case mods of [] -> defaultCurrentModule - xs -> last xs, + xs -> head xs, target = Just path } setGHCiState new_state -- 1.7.10.4