X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FDebugger.hs;h=415055a43a4ecbf45fd3d84c3b5c81754a5f44d4;hb=6a250480f62ad4e04d0f28880340dca200baae81;hp=4389213849c986273b4ca8f9363e616fcf880318;hpb=38e7ac3ffa32d75c1922e7247a910e06d9957116;p=ghc-hetmet.git diff --git a/compiler/ghci/Debugger.hs b/compiler/ghci/Debugger.hs index 4389213..415055a 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)