projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-01-19 18:31:07 by wolfgang]
[ghc-hetmet.git]
/
ghc
/
compiler
/
main
/
HscStats.lhs
diff --git
a/ghc/compiler/main/HscStats.lhs
b/ghc/compiler/main/HscStats.lhs
index
170175a
..
85e692b
100644
(file)
--- a/
ghc/compiler/main/HscStats.lhs
+++ b/
ghc/compiler/main/HscStats.lhs
@@
-99,9
+99,9
@@
ppSourceStats short (L _ (HsModule _ exports imports ldecls _))
(inst_method_ds, method_specs, method_inlines)
= foldr add3 (0,0,0) (map inst_info inst_decls)
(inst_method_ds, method_specs, method_inlines)
= foldr add3 (0,0,0) (map inst_info inst_decls)
- count_bind (PatBind (L _ (VarPat n)) r) = (1,0)
- count_bind (PatBind p r) = (0,1)
- count_bind (FunBind f _ m) = (0,1)
+ count_bind (PatBind (L _ (VarPat n)) r _) = (1,0)
+ count_bind (PatBind p r _) = (0,1)
+ count_bind (FunBind f _ m) = (0,1)
count_sigs sigs = foldr add4 (0,0,0,0) (map sig_info sigs)
count_sigs sigs = foldr add4 (0,0,0,0) (map sig_info sigs)