X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fmain%2FHscStats.lhs;h=750744af441abaa621f68231a06b6b46079b5ff5;hb=ac10f8408520a30e8437496d320b8b86afda2e8f;hp=3d8566a859deaf32ded8ec869f7f0b898bf29393;hpb=958924a2b338aebbcc8a88ba2cab511517762a19;p=ghc-hetmet.git diff --git a/ghc/compiler/main/HscStats.lhs b/ghc/compiler/main/HscStats.lhs index 3d8566a..750744a 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 { pat_lhs = L _ (VarPat n) }) = (1,0) + count_bind (PatBind {}) = (0,1) + count_bind (FunBind {}) = (0,1) count_sigs sigs = foldr add4 (0,0,0,0) (map sig_info sigs)