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:
2378b23
)
Suppress uniques when (and only when) we have -dsuppress-uniques
author
simonpj@microsoft.com
<unknown>
Tue, 12 Aug 2008 14:40:28 +0000
(14:40 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 12 Aug 2008 14:40:28 +0000
(14:40 +0000)
compiler/basicTypes/Unique.lhs
patch
|
blob
|
history
diff --git
a/compiler/basicTypes/Unique.lhs
b/compiler/basicTypes/Unique.lhs
index
d8f244e
..
202ae9e
100644
(file)
--- a/
compiler/basicTypes/Unique.lhs
+++ b/
compiler/basicTypes/Unique.lhs
@@
-61,7
+61,6
@@
import FastTypes
import FastString
import Outputable
import StaticFlags
-import Util
#if defined(__GLASGOW_HASKELL__)
--just for implementing a fast [0,61) -> Char function
@@
-212,7
+211,7
@@
We do sometimes make strings with @Uniques@ in them:
\begin{code}
pprUnique :: Unique -> SDoc
pprUnique uniq
- | debugIsOn || opt_SuppressUniques
+ | opt_SuppressUniques
= empty -- Used exclusively to suppress uniques so you
| otherwise -- can compare output easily
= case unpkUnique uniq of