summaryrefslogtreecommitdiff
path: root/compiler/ghci/Debugger.hs
diff options
context:
space:
mode:
authorPepe Iborra <mnislaih@gmail.com>2007-04-14 17:30:46 +0000
committerPepe Iborra <mnislaih@gmail.com>2007-04-14 17:30:46 +0000
commit89d00c460ec79f7986dc9d7dbc842b47e724bcb1 (patch)
tree919550c7e923d6409e313f9a7115c2d3c6267887 /compiler/ghci/Debugger.hs
parente1fac4956c19d890eaa7a43f41dd8f00d86ebcd0 (diff)
downloadhaskell-89d00c460ec79f7986dc9d7dbc842b47e724bcb1.tar.gz
:print command - Do not compute all the custom printers, only the first one matching
Diffstat (limited to 'compiler/ghci/Debugger.hs')
-rw-r--r--compiler/ghci/Debugger.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ghci/Debugger.hs b/compiler/ghci/Debugger.hs
index 4389213849..415055a43a 100644
--- a/compiler/ghci/Debugger.hs
+++ b/compiler/ghci/Debugger.hs
@@ -62,7 +62,7 @@ pprintClosureCommand bindThings force str = do
mb_new_ids <- mapM (io . go cms) (catMaybes mb_ids)
io$ updateIds cms (catMaybes mb_new_ids)
where
- -- Find the Id, clean up 'Unknowns'
+ -- Find the Id, clean up 'Unknowns' in the idType
cleanUp :: Session -> [Name] -> String -> IO (Maybe Id)
cleanUp cms newNames str = do
tythings <- GHC.parseName cms str >>= mapM (GHC.lookupName cms)