projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a27c5f7
)
Fix rendering of references in :print under -fprint-evld-with-show flag
author
Pepe Iborra
<mnislaih@gmail.com>
Wed, 19 Dec 2007 17:44:31 +0000
(17:44 +0000)
committer
Pepe Iborra
<mnislaih@gmail.com>
Wed, 19 Dec 2007 17:44:31 +0000
(17:44 +0000)
compiler/ghci/Debugger.hs
patch
|
blob
|
history
diff --git
a/compiler/ghci/Debugger.hs
b/compiler/ghci/Debugger.hs
index
e13b8a8
..
b5347dc
100644
(file)
--- a/
compiler/ghci/Debugger.hs
+++ b/
compiler/ghci/Debugger.hs
@@
-177,7
+177,6
@@
showTerm cms@(Session ref) term = do
GHC.setSessionDynFlags cms dflags
cPprShowable prec NewtypeWrap{ty=new_ty,wrapped_term=t} =
cPprShowable prec t{ty=new_ty}
- cPprShowable prec RefWrap{wrapped_term=t} = cPprShowable prec t
cPprShowable _ _ = return Nothing
needsParens ('"':_) = False -- some simple heuristics to see whether parens