X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FTidyPgm.lhs;h=370e5326d06f18efd4f7ce3b437113480a52795b;hb=99bab7d8385401ca552f6f161bd69d9d144f8309;hp=86e55f9e0654c891e702223398c8554cbdd5d274;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/compiler/main/TidyPgm.lhs b/compiler/main/TidyPgm.lhs index 86e55f9..370e532 100644 --- a/compiler/main/TidyPgm.lhs +++ b/compiler/main/TidyPgm.lhs @@ -271,17 +271,18 @@ tidyProgram hsc_env -- and indeed it does, but if omit_prags is on, ext_rules is empty ; implicit_binds = getImplicitBinds type_env + ; all_tidy_binds = implicit_binds ++ tidy_binds ; alg_tycons = filter isAlgTyCon (typeEnvTyCons type_env) } - ; endPass dflags "Tidy Core" Opt_D_dump_simpl tidy_binds + ; endPass dflags "Tidy Core" Opt_D_dump_simpl all_tidy_binds ; dumpIfSet_core dflags Opt_D_dump_simpl "Tidy Core Rules" (pprRules tidy_rules) ; return (CgGuts { cg_module = mod, cg_tycons = alg_tycons, - cg_binds = implicit_binds ++ tidy_binds, + cg_binds = all_tidy_binds, cg_dir_imps = dir_imps, cg_foreign = foreign_stubs, cg_home_mods = home_mods,