summaryrefslogtreecommitdiff
path: root/ghc/compiler/hsSyn/HsDecls.lhs
diff options
context:
space:
mode:
authorsimonmar <unknown>2006-01-09 14:33:21 +0000
committersimonmar <unknown>2006-01-09 14:33:21 +0000
commit564fe4b71b7fedc5167a616fb630bea3eff2e721 (patch)
tree060e9161637c2835952018e89d28c354ef549c3d /ghc/compiler/hsSyn/HsDecls.lhs
parente38f57d95204bea6c322425af0da52cf8ce72d0e (diff)
downloadhaskell-564fe4b71b7fedc5167a616fb630bea3eff2e721.tar.gz
[project @ 2006-01-09 14:33:21 by simonmar]
Remove dead panic
Diffstat (limited to 'ghc/compiler/hsSyn/HsDecls.lhs')
-rw-r--r--ghc/compiler/hsSyn/HsDecls.lhs1
1 files changed, 0 insertions, 1 deletions
diff --git a/ghc/compiler/hsSyn/HsDecls.lhs b/ghc/compiler/hsSyn/HsDecls.lhs
index 8c23d482bf..dadcc6b984 100644
--- a/ghc/compiler/hsSyn/HsDecls.lhs
+++ b/ghc/compiler/hsSyn/HsDecls.lhs
@@ -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)