[commit: ghc] master: Fix panic on module re-exports of DuplicateRcordFields (fb462f9)

git at git.haskell.org git at git.haskell.org
Sun Mar 25 19:03:49 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/fb462f948b4a10406fab84fd5878149c11aafe8a/ghc

>---------------------------------------------------------------

commit fb462f948b4a10406fab84fd5878149c11aafe8a
Author: Adam Gundry <adam at well-typed.com>
Date:   Sun Mar 25 14:05:55 2018 -0400

    Fix panic on module re-exports of DuplicateRcordFields
    
    Test Plan: new test overloadedrecflds/should_fail/T14953
    
    Reviewers: mpickering, simonpj, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #14953
    
    Differential Revision: https://phabricator.haskell.org/D4527


>---------------------------------------------------------------

fb462f948b4a10406fab84fd5878149c11aafe8a
 compiler/basicTypes/RdrName.hs                     |  1 +
 compiler/typecheck/TcRnExports.hs                  | 45 +++++++++++++++-------
 .../tests/overloadedrecflds/should_fail/T14953.hs  |  4 ++
 .../overloadedrecflds/should_fail/T14953.stderr    | 30 +++++++++++++++
 .../overloadedrecflds/should_fail/T14953_A.hs      |  3 ++
 .../overloadedrecflds/should_fail/T14953_B.hs      |  3 ++
 .../tests/overloadedrecflds/should_fail/all.T      |  2 +
 7 files changed, 75 insertions(+), 13 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc fb462f948b4a10406fab84fd5878149c11aafe8a


More information about the ghc-commits mailing list