From 6432c1a94bd9f08615fbebbc3d4a7e0c49391b6a Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 8 Mar 2005 17:19:28 +0000 Subject: [PATCH] [project @ 2005-03-08 17:19:28 by simonmar] decode OccNames in dumpStyle too --- ghc/compiler/basicTypes/OccName.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/compiler/basicTypes/OccName.lhs b/ghc/compiler/basicTypes/OccName.lhs index 96a2f2f..fb66916 100644 --- a/ghc/compiler/basicTypes/OccName.lhs +++ b/ghc/compiler/basicTypes/OccName.lhs @@ -93,7 +93,7 @@ type EncodedString = String -- Encoded form pprEncodedFS :: EncodedFS -> SDoc pprEncodedFS fs = getPprStyle $ \ sty -> - if userStyle sty + if userStyle sty || dumpStyle sty -- ftext (decodeFS fs) would needlessly pack the string again then text (decode (unpackFS fs)) else ftext fs -- 1.7.10.4