X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FcoreSyn%2FCoreLint.lhs;h=07e1284b7e5b26bba49557333b8340283ccd660e;hb=9259deb86455a17c05ea7ba982f7d400ac69e3f6;hp=2139e9c7b748d7edee628a83fe4cb44bcdd8c7ea;hpb=49d454d8f8f0e1a83369ec12f8aafc1dcf80aea9;p=ghc-hetmet.git diff --git a/compiler/coreSyn/CoreLint.lhs b/compiler/coreSyn/CoreLint.lhs index 2139e9c..07e1284 100644 --- a/compiler/coreSyn/CoreLint.lhs +++ b/compiler/coreSyn/CoreLint.lhs @@ -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}