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

Ian Lynagh <[email protected]> Tue, 16 Jan 2007 16:42:16 -0800
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <20070117004216.GA20181__45880.52373515$1168994564$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