X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FsimplCore%2FSimplEnv.lhs;h=c91ca58e979e46672b9e7e7aa993630f7da251f3;hb=647546977c3b6869c027b33c3de841ff13afc912;hp=00f035e51392f62acb750fb5f436fac1272551d1;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/compiler/simplCore/SimplEnv.lhs b/compiler/simplCore/SimplEnv.lhs index 00f035e..c91ca58 100644 --- a/compiler/simplCore/SimplEnv.lhs +++ b/compiler/simplCore/SimplEnv.lhs @@ -562,7 +562,7 @@ when substituting in h's RULE. \begin{code} addLetIdInfo :: SimplEnv -> InBinder -> OutBinder -> (SimplEnv, OutBinder) addLetIdInfo env in_id out_id - = (modifyInScope env out_id out_id, final_id) + = (modifyInScope env out_id final_id, final_id) where final_id = out_id `setIdInfo` new_info subst = mkCoreSubst env