X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FDebugger.hs;h=b5347dc1bbe0b8d1ec60b6357fafbc0f469e392f;hb=3d5970436af5ab73957278671059e00d1a52c616;hp=e13b8a809a8648d50c7c7dd91c33e01ae99fe4da;hpb=463f566a6504f193e4602299be5f2400ca10d21a;p=ghc-hetmet.git diff --git a/compiler/ghci/Debugger.hs b/compiler/ghci/Debugger.hs index e13b8a8..b5347dc 100644 --- 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