Fix rendering of references in :print under -fprint-evld-with-show flag
authorPepe Iborra <mnislaih@gmail.com>
Wed, 19 Dec 2007 17:44:31 +0000 (17:44 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Wed, 19 Dec 2007 17:44:31 +0000 (17:44 +0000)
compiler/ghci/Debugger.hs

index e13b8a8..b5347dc 100644 (file)
@@ -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