X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fmain%2FHscStats.lhs;h=b213764aa11970f3bc71527a740fe8d6b546a2ea;hb=a7ecdf96844404b7bc8273d4ff6d85759278427c;hp=85e692b57ba651bf48d1086c56453b53eec6a0e8;hpb=8a9aba1ff5e66aad02aba0997339ea6ec60d6b1e;p=ghc-hetmet.git diff --git a/ghc/compiler/main/HscStats.lhs b/ghc/compiler/main/HscStats.lhs index 85e692b..b213764 100644 --- 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) - 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)