diff options
author | Ian Lynagh <igloo@earth.li> | 2011-11-04 15:06:56 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-11-04 15:57:46 +0000 |
commit | 1df198643cc5502ee103f043193d2990c9837e25 (patch) | |
tree | 1a5cf7036a3c0f8c2fa13b3d51fb9f492ddec5de /compiler/cmm/Cmm.hs | |
parent | ed26b477377ac4ac2277a82effb8d1b830843851 (diff) | |
download | haskell-1df198643cc5502ee103f043193d2990c9837e25.tar.gz |
Use -fwarn-tabs when validating
We only use it for "compiler" sources, i.e. not for libraries.
Many modules have a -fno-warn-tabs kludge for now.
Diffstat (limited to 'compiler/cmm/Cmm.hs')
-rw-r--r-- | compiler/cmm/Cmm.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/cmm/Cmm.hs b/compiler/cmm/Cmm.hs index f18b417ad9..93a1dc1e52 100644 --- a/compiler/cmm/Cmm.hs +++ b/compiler/cmm/Cmm.hs @@ -2,6 +2,13 @@ {-# LANGUAGE GADTs #-} {-# OPTIONS_GHC -fno-warn-warnings-deprecations #-} +{-# OPTIONS -fno-warn-tabs #-} +-- The above warning supression flag is a temporary kludge. +-- While working on this module you are encouraged to remove it and +-- detab the module (please do the detabbing in a separate patch). See +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#TabsvsSpaces +-- for details + {-# OPTIONS_GHC -fno-warn-incomplete-patterns #-} #if __GLASGOW_HASKELL__ >= 703 -- GHC 7.0.1 improved incomplete pattern warnings with GADTs |