Fix printing of an `IfacePatSyn`
authorRik Steenkamp <rik@ewps.nl>
Sat, 5 Mar 2016 19:01:06 +0000 (20:01 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sat, 5 Mar 2016 19:02:13 +0000 (20:02 +0100)
commit3801262e89957a0fceeec0c5683045cf327aac64
tree310df394b209dbe58c6264cd5bcb687cbbfbb303
parent6ca9b15f77e58931953edb7c872b803cb261fce9
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
compiler/hsSyn/HsBinds.hs
compiler/iface/IfaceSyn.hs
compiler/iface/IfaceType.hs
testsuite/tests/ghci/scripts/T11524a.script [new file with mode: 0644]
testsuite/tests/ghci/scripts/T11524a.stdout [new file with mode: 0644]
testsuite/tests/ghci/scripts/all.T