summaryrefslogtreecommitdiff
path: root/compiler/utils/GraphBase.hs
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2010-11-25 17:23:56 +0000
committersimonpj@microsoft.com <unknown>2010-11-25 17:23:56 +0000
commit30c17e7096919c55218083c8fcb98e6287552058 (patch)
tree7064852738cf1876917948639d5d667d29069cca /compiler/utils/GraphBase.hs
parent45a61df30f95b22d4818b6e3e3622707911bde03 (diff)
downloadhaskell-30c17e7096919c55218083c8fcb98e6287552058.tar.gz
Substitution should just substitute, not optimise
This was causing Trac #4524, by optimising (e |> co) to e on the LHS of a rule. Result, the template variable 'co' wasn't bound any more. Now that substition doesn't optimise, it seems sensible to call simpleOptExpr rather than substExpr when substituting in the RHS of rules. Not a big deal either way.
Diffstat (limited to 'compiler/utils/GraphBase.hs')
0 files changed, 0 insertions, 0 deletions