Relevant Bindings no longer reports shadowed bindings (fixes #12176)

Authored by anniecherkaev on Aug 1 2016, 1:30 AM.

Description

Relevant Bindings no longer reports shadowed bindings (fixes Trac #12176)

Summary: Modified the RelevantBindings method in TcErrors.hs to only search over
non-shadowed bindings.

Test Plan: Wrote 2 simple test cases, verified that it worked with multiple
shadowed bindings, and also non-shadowed bindings.

Reviewers: austin, bgamari, ezyang

Reviewed By: ezyang

Subscribers: ezyang, thomie

Differential Revision: https://phabricator.haskell.org/D2434

GHC Trac Issues: Trac #12177

Details

Committed
ezyangAug 1 2016, 3:36 AM
Pushed
bgamariAug 25 2016, 1:39 PM
Reviewer
ezyang
Differential Revision
D2434: Relevant Bindings no longer reports shadowed bindings (fixes #12176)
Parents
rGHCDIFFc06e3f46d24e: Add atomic operations to package.conf.in
Branches
Unknown
Tags
Unknown