Thu Nov 25 09:23:56 PST 2010  simo...@microsoft.com
  * 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.

    M ./compiler/coreSyn/CoreSubst.lhs -10 +14

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20101125172356-1287e-d20ef8950d463fc72ad34ff3de43f986e2e38d4c.gz

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to