[project @ 2006-01-09 14:33:21 by simonmar]
authorsimonmar <unknown>
Mon, 9 Jan 2006 14:33:21 +0000 (14:33 +0000)
committersimonmar <unknown>
Mon, 9 Jan 2006 14:33:21 +0000 (14:33 +0000)
Remove dead panic

ghc/compiler/hsSyn/HsDecls.lhs

index 8c23d48..dadcc6b 100644 (file)
@@ -573,7 +573,6 @@ pprConDecl (ConDecl con expl tvs cxt details (ResTyGADT res_ty))
   where
     ppr_details (PrefixCon arg_tys) = dcolon <+> ppr (foldr mk_fun_ty res_ty arg_tys)
     ppr_details (RecCon fields)     = ppr fields <+> dcolon <+> ppr res_ty
-    ppr_details (PrefixCon _)       = pprPanic "pprConDecl" (ppr con)
 
     mk_fun_ty a b = noLoc (HsFunTy a b)