[commit: ghc] ghc-8.0: Fix printing of an `IfacePatSyn` (37310ef)
git at git.haskell.org
git at git.haskell.org
Mon Mar 7 22:46:08 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/37310efa53e5c341d2b525c4f3a62696fb64caab/ghc
>---------------------------------------------------------------
commit 37310efa53e5c341d2b525c4f3a62696fb64caab
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
(cherry picked from commit 3801262e89957a0fceeec0c5683045cf327aac64)
>---------------------------------------------------------------
37310efa53e5c341d2b525c4f3a62696fb64caab
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 37310efa53e5c341d2b525c4f3a62696fb64caab
More information about the ghc-commits
mailing list