[commit: ghc] master: Fix printing of an `IfacePatSyn` (3801262)

git at git.haskell.org git at git.haskell.org
Sat Mar 5 20:15:30 UTC 2016


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

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

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

commit 3801262e89957a0fceeec0c5683045cf327aac64
Author: Rik Steenkamp <rik at ewps.nl>
Date:   Sat Mar 5 20:01:06 2016 +0100

    Fix printing of an `IfacePatSyn`
    
    Now the existentially quantified type variables are printed
    at the correct location when printing a pattern synonym type
    from an `IfacePatSyn`. The function `pprIfaceContextMaybe`
    has been removed as it is no longer needed.
    
    Fixes #11524.
    
    Reviewers: austin, goldfire, thomie, bgamari, mpickering
    
    Reviewed By: bgamari
    
    Differential Revision: https://phabricator.haskell.org/D1958
    
    GHC Trac Issues: #11524


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

3801262e89957a0fceeec0c5683045cf327aac64
 compiler/hsSyn/HsBinds.hs                   | 12 -------
 compiler/iface/IfaceSyn.hs                  | 24 +++++++------
 compiler/iface/IfaceType.hs                 | 15 ++++----
 testsuite/tests/ghci/scripts/T11524a.script | 55 +++++++++++++++++++++++++++++
 testsuite/tests/ghci/scripts/T11524a.stdout | 49 +++++++++++++++++++++++++
 testsuite/tests/ghci/scripts/all.T          |  1 +
 6 files changed, 125 insertions(+), 31 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 3801262e89957a0fceeec0c5683045cf327aac64


More information about the ghc-commits mailing list