From ddb4c07d9b3bd50eb95edbf121745fb9c6306638 Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Wed, 19 Dec 2007 17:44:31 +0000 Subject: [PATCH] Fix rendering of references in :print under -fprint-evld-with-show flag --- compiler/ghci/Debugger.hs | 1 - 1 file changed, 1 deletion(-) 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 -- 1.7.10.4