diff options
author | Ian Lynagh <igloo@earth.li> | 2007-09-01 11:21:30 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-09-01 11:21:30 +0000 |
commit | 17b297d97d327620ed6bfab942f8992b2446f1bf (patch) | |
tree | c84753f3bbbc9a1f0a262abfad5ddcf9d5b6271b /compiler/specialise | |
parent | e11fa7a5e0025460df3b8562ccbf3ffd1db68d5d (diff) | |
download | haskell-17b297d97d327620ed6bfab942f8992b2446f1bf.tar.gz |
Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules
Diffstat (limited to 'compiler/specialise')
-rw-r--r-- | compiler/specialise/Rules.lhs | 7 | ||||
-rw-r--r-- | compiler/specialise/SpecConstr.lhs | 7 | ||||
-rw-r--r-- | compiler/specialise/Specialise.lhs | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/compiler/specialise/Rules.lhs b/compiler/specialise/Rules.lhs index 26a499bfeb..fbdf925a3b 100644 --- a/compiler/specialise/Rules.lhs +++ b/compiler/specialise/Rules.lhs @@ -4,6 +4,13 @@ \section[CoreRules]{Transformation rules} \begin{code} +{-# OPTIONS_GHC -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/WorkingConventions#Warnings +-- for details + module Rules ( RuleBase, emptyRuleBase, mkRuleBase, extendRuleBaseList, unionRuleBase, pprRuleBase, ruleCheckProgram, diff --git a/compiler/specialise/SpecConstr.lhs b/compiler/specialise/SpecConstr.lhs index 48718affd2..c7cfad4ef5 100644 --- a/compiler/specialise/SpecConstr.lhs +++ b/compiler/specialise/SpecConstr.lhs @@ -4,6 +4,13 @@ \section[SpecConstr]{Specialise over constructors} \begin{code} +{-# OPTIONS_GHC -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/WorkingConventions#Warnings +-- for details + module SpecConstr( specConstrProgram ) where diff --git a/compiler/specialise/Specialise.lhs b/compiler/specialise/Specialise.lhs index fa067429ab..bb47a97c30 100644 --- a/compiler/specialise/Specialise.lhs +++ b/compiler/specialise/Specialise.lhs @@ -4,6 +4,13 @@ \section[Specialise]{Stamping out overloading, and (optionally) polymorphism} \begin{code} +{-# OPTIONS_GHC -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/WorkingConventions#Warnings +-- for details + module Specialise ( specProgram ) where #include "HsVersions.h" |