Fix rendering of references in :print under -fprint-evld-with-show flag
[ghc-hetmet.git] / 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