Warning clean up
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Thu, 31 Jan 2008 02:48:45 +0000 (02:48 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Thu, 31 Jan 2008 02:48:45 +0000 (02:48 +0000)
compiler/hsSyn/HsDecls.lhs

index 9461ab9..4be320f 100644 (file)
@@ -727,7 +727,7 @@ pprConDecl (ConDecl con expl tvs cxt (PrefixCon arg_tys) (ResTyGADT res_ty) _)
 pprConDecl (ConDecl con expl tvs cxt (RecCon fields) (ResTyGADT res_ty) _)
   = sep [pprHsForAll expl tvs cxt, ppr con <+> ppr_fields fields <+> dcolon <+> ppr res_ty]
 
-pprConDecl (ConDecl con expl tvs cxt (InfixCon _ _) (ResTyGADT res_ty) _)
+pprConDecl (ConDecl con _expl _tvs _cxt (InfixCon _ _) (ResTyGADT _res_ty) _)
   = pprPanic "pprConDecl" (ppr con)
        -- In GADT syntax we don't allow infix constructors