[commit: ghc] master: Read COMPLETE sets from external packages (0d2f733)

git at git.haskell.org git at git.haskell.org
Fri Mar 3 14:25:23 UTC 2017


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

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

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

commit 0d2f733050ff656b827351108d988e09abc363fc
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date:   Thu Mar 2 20:16:28 2017 -0500

    Read COMPLETE sets from external packages
    
    Currently, `COMPLETE` pragmas are not read from external packages at
    all, which quite limits their usefulness. This extends
    `ExternalPackageState` to include `COMPLETE` sets from other packages,
    and plumbs around the appropriate values to make it work the way you'd
    expect it to.
    
    Fixes #13350.
    
    Test Plan: make test TEST=T13350
    
    Reviewers: rwbarton, mpickering, austin, simonpj, bgamari
    
    Reviewed By: simonpj
    
    Subscribers: simonpj, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3257


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

0d2f733050ff656b827351108d988e09abc363fc
 compiler/deSugar/Check.hs                          |  11 ++-
 compiler/deSugar/DsMonad.hs                        |  14 ++-
 compiler/iface/LoadIface.hs                        |  29 +++---
 compiler/iface/MkIface.hs                          |   3 +-
 compiler/iface/TcIface.hs                          |  14 +--
 compiler/iface/TcIface.hs-boot                     |  18 ++--
 compiler/main/HscTypes.hs                          | 101 ++++++++++++++++++---
 compiler/typecheck/TcBinds.hs                      |  10 +-
 compiler/typecheck/TcRnTypes.hs                    |  14 +--
 compiler/utils/Binary.hs                           |   1 -
 .../tests/patsyn/should_compile/T13350/Makefile    |  13 +++
 .../tests/patsyn/should_compile/T13350/T13350.hs   |   8 ++
 testsuite/tests/patsyn/should_compile/T13350/all.T |   4 +
 .../should_compile/T13350/boolean/Boolean.hs       |   9 ++
 .../should_compile/T13350/boolean}/Setup.hs        |   0
 .../should_compile/T13350/boolean/boolean.cabal    |   7 ++
 16 files changed, 190 insertions(+), 66 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 0d2f733050ff656b827351108d988e09abc363fc


More information about the ghc-commits mailing list