Fix CodingStyle#Warnings URLs
[ghc-hetmet.git] / compiler / deSugar / Desugar.lhs
index 9a4c261..1415b55 100644 (file)
@@ -6,6 +6,13 @@
 The Desugarer: turning HsSyn into Core.
 
 \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 Desugar ( deSugar, deSugarExpr ) where
 
 #include "HsVersions.h"
@@ -166,7 +173,7 @@ deSugar hsc_env
                mg_exports      = exports,
                mg_deps         = deps,
                mg_usages       = usages,
-               mg_dir_imps     = [m | (m,_,_) <- moduleEnvElts dir_imp_mods],
+               mg_dir_imps     = [m | (m, _) <- moduleEnvElts dir_imp_mods],
                mg_rdr_env      = rdr_env,
                mg_fix_env      = fix_env,
                mg_deprecs      = deprecs,