[commit: ghc] master: Disallow non-nullary constraint synonyms on class. (984c609)

git at git.haskell.org git at git.haskell.org
Thu Mar 2 23:59:21 UTC 2017


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

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

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

commit 984c6097c63096d10789f6eb6da6f6656195cdaf
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Mon Feb 27 15:52:27 2017 -0800

    Disallow non-nullary constraint synonyms on class.
    
    Test Plan: validate
    
    Reviewers: simonpj, bgamari, austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D3230


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

984c6097c63096d10789f6eb6da6f6656195cdaf
 compiler/typecheck/TcRnDriver.hs                   | 143 +++++++++++----------
 testsuite/tests/backpack/should_compile/bkp39.bkp  |   6 +-
 testsuite/tests/backpack/should_fail/all.T         |   1 +
 .../bkp39.bkp => should_fail/bkpfail46.bkp}        |   5 +-
 .../tests/backpack/should_fail/bkpfail46.stderr    |  20 +++
 5 files changed, 97 insertions(+), 78 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 984c6097c63096d10789f6eb6da6f6656195cdaf


More information about the ghc-commits mailing list