[commit: ghc] master: Improve Backpack support for fixities. (e41c61f)

git at git.haskell.org git at git.haskell.org
Wed Jan 11 14:54:31 UTC 2017


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

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

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

commit e41c61fa7792d12ac7ffbacda7a5b3ba6ef2a267
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Thu Jan 5 01:09:29 2017 -0800

    Improve Backpack support for fixities.
    
    Summary:
    Two major bug-fixes:
    
        - Check that fixities match between hsig and implementation
    
        - Merge and preserve fixities when merging signatures
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
    
    Test Plan: validate
    
    Reviewers: bgamari, simonpj, austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2919
    
    GHC Trac Issues: #13066


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

e41c61fa7792d12ac7ffbacda7a5b3ba6ef2a267
 compiler/typecheck/TcBackpack.hs                   | 57 +++++++++++++++++++---
 testsuite/tests/backpack/should_compile/all.T      |  1 +
 testsuite/tests/backpack/should_compile/bkp39.bkp  |  1 +
 testsuite/tests/backpack/should_compile/bkp45.bkp  | 17 +++++++
 .../should_compile/{bkp35.stderr => bkp45.stderr}  |  2 +-
 testsuite/tests/backpack/should_fail/all.T         |  2 +
 testsuite/tests/backpack/should_fail/bkpfail37.bkp | 11 +++++
 .../tests/backpack/should_fail/bkpfail37.stderr    | 16 ++++++
 testsuite/tests/backpack/should_fail/bkpfail38.bkp | 11 +++++
 .../tests/backpack/should_fail/bkpfail38.stderr    | 12 +++++
 10 files changed, 121 insertions(+), 9 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 e41c61fa7792d12ac7ffbacda7a5b3ba6ef2a267


More information about the ghc-commits mailing list