X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FcoreSyn%2FCoreSubst.lhs;h=18b12a6335a5b2d1b806d84218b2dfe6a7cfbc7d;hp=e2c07af8669c7bceaf6fbaa7ffbfc14c5a5fbe1f;hb=5e218036aabd1666ff2b509436e4e88491596c37;hpb=469c8c3c35a3e875f97ea03c12f61c631e2524cd diff --git a/compiler/coreSyn/CoreSubst.lhs b/compiler/coreSyn/CoreSubst.lhs index e2c07af..18b12a6 100644 --- a/compiler/coreSyn/CoreSubst.lhs +++ b/compiler/coreSyn/CoreSubst.lhs @@ -699,7 +699,8 @@ simpleOptPgm dflags binds rules ; return (reverse binds', substRulesForImportedIds subst' rules) } where - occ_anald_binds = occurAnalysePgm binds rules + occ_anald_binds = occurAnalysePgm Nothing {- No rules active -} + rules binds (subst', binds') = foldl do_one (emptySubst, []) occ_anald_binds do_one (subst, binds') bind