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:
d57308d
)
Fix warnings in basicTypes/VarSet
author
Ian Lynagh
<igloo@earth.li>
Wed, 26 Mar 2008 15:51:05 +0000
(15:51 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 26 Mar 2008 15:51:05 +0000
(15:51 +0000)
compiler/basicTypes/VarSet.lhs
patch
|
blob
|
history
diff --git
a/compiler/basicTypes/VarSet.lhs
b/compiler/basicTypes/VarSet.lhs
index
1bef89a
..
d4293ba
100644
(file)
--- a/
compiler/basicTypes/VarSet.lhs
+++ b/
compiler/basicTypes/VarSet.lhs
@@
-4,13
+4,6
@@
%
\begin{code}
%
\begin{code}
-{-# OPTIONS -w #-}
--- The above warning supression flag is a temporary kludge.
--- While working on this module you are encouraged to remove it and fix
--- any warnings in the module. See
--- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
--- for details
-
module VarSet (
VarSet, IdSet, TyVarSet,
emptyVarSet, unitVarSet, mkVarSet,
module VarSet (
VarSet, IdSet, TyVarSet,
emptyVarSet, unitVarSet, mkVarSet,
@@
-24,12
+17,13
@@
module VarSet (
elemVarSetByKey
) where
elemVarSetByKey
) where
+-- XXX This define is a bit of a hack, and should be done more nicely
+#define FAST_STRING_NOT_NEEDED 1
#include "HsVersions.h"
import Var
import Unique
import UniqSet
#include "HsVersions.h"
import Var
import Unique
import UniqSet
-import UniqFM
\end{code}
%************************************************************************
\end{code}
%************************************************************************