[commit: ghc] overlapping-tyfams: Removed warnings from dead code (bff9f7e)

Richard Eisenberg eir at cis.upenn.edu
Wed Aug 15 17:00:59 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : overlapping-tyfams

http://hackage.haskell.org/trac/ghc/changeset/bff9f7ef5cccca3dff1f9257b31379195d196d15

>---------------------------------------------------------------

commit bff9f7ef5cccca3dff1f9257b31379195d196d15
Author: Richard Eisenberg <eir at seas.upenn.edu>
Date:   Thu Aug 9 13:15:40 2012 -0400

    Removed warnings from dead code

>---------------------------------------------------------------

 compiler/typecheck/TcTyClsDecls.lhs               |    4 ----
 compiler/vectorise/Vectorise/Generic/PAMethods.hs |    1 -
 2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/compiler/typecheck/TcTyClsDecls.lhs b/compiler/typecheck/TcTyClsDecls.lhs
index 73257f0..026e10a 100644
--- a/compiler/typecheck/TcTyClsDecls.lhs
+++ b/compiler/typecheck/TcTyClsDecls.lhs
@@ -1994,8 +1994,4 @@ wrongNamesInInstGroup first cur
     ptext (sLit "First name was") <+>
     (ppr first) <> (ptext (sLit "; this one is")) <+> (ppr cur)
 
-instGroupUnimplemented :: TyCon -> SDoc
-instGroupUnimplemented tycon
-  = ptext (sLit "Instance groups (such as the one for") <+>
-    (ppr tycon) <> ptext (sLit ") are not implemented yet.") 
 \end{code}
diff --git a/compiler/vectorise/Vectorise/Generic/PAMethods.hs b/compiler/vectorise/Vectorise/Generic/PAMethods.hs
index 8994cfd..61c07cd 100644
--- a/compiler/vectorise/Vectorise/Generic/PAMethods.hs
+++ b/compiler/vectorise/Vectorise/Generic/PAMethods.hs
@@ -28,7 +28,6 @@ import FastString
 import MonadUtils
 import Control.Monad
 import Outputable
-import SrcLoc ( noSrcSpan )
 
 
 buildPReprTyCon :: TyCon -> TyCon -> SumRepr -> VM FamInst





More information about the Cvs-ghc mailing list