X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FdeSugar%2FDesugar.lhs;h=cb861aed961a9b8a234bc76e17f1f0b72e6340ec;hb=fe3321f99f4d9c9ff40429a7ac290f8ef7ca3297;hp=731d6ffcab92fbe2021fae6fcf9637c2295824ce;hpb=3d8dbba7d24c9139b800f4ccf31c50b11596fc2e;p=ghc-hetmet.git diff --git a/compiler/deSugar/Desugar.lhs b/compiler/deSugar/Desugar.lhs index 731d6ff..cb861ae 100644 --- a/compiler/deSugar/Desugar.lhs +++ b/compiler/deSugar/Desugar.lhs @@ -90,7 +90,7 @@ deSugar hsc_env HscNothing -> return (Just ([], [], NoStubs, noHpcInfo, emptyModBreaks)) _ -> do (binds_cvr,ds_hpc_info, modBreaks) <- if opt_Hpc || target == HscInterpreted - then addCoverageTicksToBinds dflags mod mod_loc binds + then addCoverageTicksToBinds dflags mod mod_loc (typeEnvTyCons type_env) binds else return (binds, noHpcInfo, emptyModBreaks) initDs hsc_env mod rdr_env type_env $ do { core_prs <- dsTopLHsBinds auto_scc binds_cvr