X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fspecialise%2FSpecConstr.lhs;h=b8394126055761237b636a3c6292fc23a6a0d993;hp=e2eda2b3bb4a6b48f6796500907fae25f7521475;hb=90686adf9d3dc7a09a51853df051bc4ea472d840;hpb=26f164e5759e9eca73deb0531ddec422d36a6924 diff --git a/compiler/specialise/SpecConstr.lhs b/compiler/specialise/SpecConstr.lhs index e2eda2b..b839412 100644 --- a/compiler/specialise/SpecConstr.lhs +++ b/compiler/specialise/SpecConstr.lhs @@ -1272,7 +1272,7 @@ calcSpecStrictness fn qvars pats Note [Specialise original body] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The RhsInfo for a binding keeps the *oringal* body of the binding. We +The RhsInfo for a binding keeps the *original* body of the binding. We must specialise that, *not* the result of applying specExpr to the RHS (which is also kept in RhsInfo). Otherwise we end up specialising a specialised RHS, and that can lead directly to exponential behaviour.