Fix Trac #2137: report correct location for shadowed binding
authorsimonpj@microsoft.com <unknown>
Wed, 2 Apr 2008 15:34:10 +0000 (15:34 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 2 Apr 2008 15:34:10 +0000 (15:34 +0000)
commit6e55d34a67e0fee21e4dc672bf5b33f03d8d1834
tree22cff357ec2fee5fab641f9e5e9a63f707e06636
parent1c9ffbe64003cef8a686ff1e29aae160e314775e
Fix Trac #2137: report correct location for shadowed binding

The error message generation for a shadowed binding was
plain wrong, at least where the shadowed binding isn't
top-level.  Just a typo really -- the fix is trivial.
compiler/rename/RnEnv.lhs