projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a2fc9
)
[project @ 2005-03-08 17:19:28 by simonmar]
author
simonmar
<unknown>
Tue, 8 Mar 2005 17:19:28 +0000
(17:19 +0000)
committer
simonmar
<unknown>
Tue, 8 Mar 2005 17:19:28 +0000
(17:19 +0000)
decode OccNames in dumpStyle too
ghc/compiler/basicTypes/OccName.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/basicTypes/OccName.lhs
b/ghc/compiler/basicTypes/OccName.lhs
index
96a2f2f
..
fb66916
100644
(file)
--- 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