projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e38f57d
)
[project @ 2006-01-09 14:33:21 by simonmar]
author
simonmar
<unknown>
Mon, 9 Jan 2006 14:33:21 +0000
(14:33 +0000)
committer
simonmar
<unknown>
Mon, 9 Jan 2006 14:33:21 +0000
(14:33 +0000)
Remove dead panic
ghc/compiler/hsSyn/HsDecls.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/hsSyn/HsDecls.lhs
b/ghc/compiler/hsSyn/HsDecls.lhs
index
8c23d48
..
dadcc6b
100644
(file)
--- 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)