Fix an obscure bug in rule-matching
authorsimonpj@microsoft.com <unknown>
Sat, 13 Jan 2007 22:04:25 +0000 (22:04 +0000)
committersimonpj@microsoft.com <unknown>
Sat, 13 Jan 2007 22:04:25 +0000 (22:04 +0000)
commite0dc75d53a17d8dd96aac4f4a6f2da8177eb8dce
tree2ac1da6c4d0166578da9a0d96b0da715e56eb50b
parent6e2021202c3eec0c95a9d0b7c355559f2630d380
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
compiler/basicTypes/VarEnv.lhs