diff options
author | Adam Gundry <adam@well-typed.com> | 2015-10-30 14:14:21 +0000 |
---|---|---|
committer | Adam Gundry <adam@well-typed.com> | 2015-10-30 14:14:28 +0000 |
commit | 0a16374109ad16d9337185f5c0a845a3f20141cb (patch) | |
tree | 024a9d8a6505c58f7612375597ae7e2e48899452 /utils/runghc | |
parent | 268aa9a2ee98d800594875c930cfcd76cb5e221b (diff) | |
download | haskell-0a16374109ad16d9337185f5c0a845a3f20141cb.tar.gz |
Disambiguate record selectors by type signature
This makes DuplicateRecordFields more liberal in when it will
accept ambiguous record selectors, making use of type information in a
similar way to updates. See Note [Disambiguating record fields] for more
details. I've also refactored how record updates are disambiguated.
Test Plan: New and amended tests in overloadedrecflds
Reviewers: simonpj, goldfire, bgamari, austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1391
Diffstat (limited to 'utils/runghc')
0 files changed, 0 insertions, 0 deletions