Make various assertions work when !DEBUG
[ghc-hetmet.git] / compiler / coreSyn / CoreLint.lhs
index 2139e9c..07e1284 100644 (file)
@@ -6,6 +6,13 @@
 A ``lint'' pass to check for Core correctness
 
 \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 CoreLint (
        lintCoreBindings,
        lintUnfolding, 
@@ -37,11 +44,7 @@ import BasicTypes
 import StaticFlags
 import DynFlags
 import Outputable
-
-#ifdef DEBUG
-import Util             ( notNull )
-#endif
-
+import Util
 import Data.Maybe
 \end{code}