[commit: ghc] master: Show minimal complete definitions in ghci (#10847) (43eb1dc)

git at git.haskell.org git at git.haskell.org
Thu Sep 17 14:00:37 UTC 2015


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

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

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

commit 43eb1dc52a4d3cbba9617f5a26177b8251d84b6a
Author: Moritz Kiefer <moritz.kiefer at purelyfunctional.org>
Date:   Thu Sep 17 16:02:06 2015 +0200

    Show minimal complete definitions in ghci (#10847)
    
    Show the minimal complete definition on :info in ghci. They
    are shown like MINIMAL pragmas in code. If the minimal complete
    definition is empty or only a specific method from a class is
    requested, nothing is shown.
    
    Reviewed By: simonpj, austin, thomie
    
    Differential Revision: https://phabricator.haskell.org/D1241


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

43eb1dc52a4d3cbba9617f5a26177b8251d84b6a
 compiler/iface/IfaceSyn.hs                         | 30 +++++++++++++++++++---
 testsuite/tests/driver/sigof01/sigof01i2.stdout    |  1 +
 testsuite/tests/ghci/prog008/ghci.prog008.stdout   |  2 ++
 testsuite/tests/ghci/scripts/T9181.stdout          |  2 ++
 testsuite/tests/ghci/scripts/ghci008.stdout        |  3 +++
 testsuite/tests/ghci/scripts/ghci025.stdout        |  5 ++++
 .../indexed-types/should_compile/T3017.stderr      |  1 +
 .../tests/rename/should_fail/rnfail055.stderr      |  2 ++
 .../tests/roles/should_compile/Roles14.stderr      |  1 +
 testsuite/tests/roles/should_compile/Roles3.stderr |  4 +++
 testsuite/tests/roles/should_compile/Roles4.stderr |  2 ++
 .../tests/typecheck/should_compile/tc231.stderr    |  1 +
 12 files changed, 51 insertions(+), 3 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 43eb1dc52a4d3cbba9617f5a26177b8251d84b6a


More information about the ghc-commits mailing list