X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcGenDeriv.lhs;h=ea5ca8eb92ca1343b48cb2efde026a6eb461c97c;hp=499a839aadaeeceac715aa8155d0d157f2adeea5;hb=17b297d97d327620ed6bfab942f8992b2446f1bf;hpb=9ff76535edb25ab7434284adddb5c64708ecb547 diff --git a/compiler/typecheck/TcGenDeriv.lhs b/compiler/typecheck/TcGenDeriv.lhs index 499a839..ea5ca8e 100644 --- a/compiler/typecheck/TcGenDeriv.lhs +++ b/compiler/typecheck/TcGenDeriv.lhs @@ -11,6 +11,13 @@ This module is nominally ``subordinate'' to @TcDeriv@, which is the This is where we do all the grimy bindings' generation. \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 TcGenDeriv ( gen_Bounded_binds, gen_Enum_binds, @@ -1421,10 +1428,6 @@ genOpApp e1 op e2 = nlHsPar (nlHsOpApp e1 op e2) \end{code} \begin{code} -getSrcSpan = srcLocSpan . getSrcLoc -\end{code} - -\begin{code} a_RDR = mkVarUnqual FSLIT("a") b_RDR = mkVarUnqual FSLIT("b") c_RDR = mkVarUnqual FSLIT("c")