From 6457193e8206bb0d4b994436e9c7c7991dd4cc30 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 26 Mar 2008 15:51:05 +0000 Subject: [PATCH] Fix warnings in basicTypes/VarSet --- compiler/basicTypes/VarSet.lhs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/compiler/basicTypes/VarSet.lhs b/compiler/basicTypes/VarSet.lhs index 1bef89a..d4293ba 100644 --- a/compiler/basicTypes/VarSet.lhs +++ b/compiler/basicTypes/VarSet.lhs @@ -4,13 +4,6 @@ % \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, @@ -24,12 +17,13 @@ module VarSet ( 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 -import UniqFM \end{code} %************************************************************************ -- 1.7.10.4