patch applied (ghc): Fix bug in roughTopNames

Simon Peyton Jones simonpj at microsoft.com
Wed Jan 26 18:22:05 CET 2011


Wed Jan 26 09:18:03 PST 2011  simonpj at microsoft.com
  * Fix bug in roughTopNames
  
  roughTopNames was returning a name that in fact might be
  "looked though" by the rule matcher. Result: a rule
  that should match was being pre-emptively discarded.
  
  See Note [Care with roughTopName].
  
  Fixes a bug noticed by Pedro (Trac #4918).

    M ./compiler/specialise/Rules.lhs -3 +23

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



More information about the Cvs-ghc mailing list