patch applied (ghc): Fix an obscure bug in rule-matching

Simon Peyton Jones <[email protected]> Sat, 13 Jan 2007 14:08:19 -0800
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <20070113220819.GA4760__22159.9969933324$1168726109$gmane$org@cvs.haskell.org>
Sat Jan 13 14:04:25 PST 2007  [email protected]
  * Fix an obscure bug in rule-matching
  
  This bug is the cause of Trac #1092.  The fix is easy
  by making the RnEnv2 implementation do the right thing.
  See Note [rnBndrLR] in VarEnv.
  
  Test case is simplCore/should_compile/rule1

    M ./compiler/basicTypes/VarEnv.lhs -2 +16