[commit: ghc] master: Read COMPLETE sets from external packages (8ca4bb1)

git at git.haskell.org git at git.haskell.org
Mon Mar 6 18:38:53 UTC 2017


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

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

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

commit 8ca4bb1ce9d94bb9f519f620c1f5ed8063007d33
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Mar 6 12:20:06 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.
    
    Requires a `binary` submodule update.
    
    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


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

8ca4bb1ce9d94bb9f519f620c1f5ed8063007d33
 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 -
 libraries/binary                                   |   2 +-
 .../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 ++
 17 files changed, 191 insertions(+), 67 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 8ca4bb1ce9d94bb9f519f620c1f5ed8063007d33


More information about the ghc-commits mailing list