diff options
author | Rik Steenkamp <rik@ewps.nl> | 2016-04-02 21:13:34 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-04-04 15:43:32 +0200 |
commit | 1308be34399d1819e39f6ad1ea41928681110a4a (patch) | |
tree | a30197a98350263025be8434129078a609b15c23 /haddock-api/test | |
parent | a0ddf910f08e1e1848bb36db202c18c42f15cc07 (diff) |
Fix printing of pattern synonym types
Removes the call to `patSynType :: PatSyn -> Type` in `Convert.hs` as this
function will be removed from GHC. Instead, we use the function `patSynSig`
and build the `HsDecl` manually. This also fixes the printing of the two
contexts and the quantified type variables in a pattern synonym type.
Reviewers: goldfire, bgamari, mpickering
Differential Revision: https://phabricator.haskell.org/D2048
(cherry picked from commit 3ddcbd6b8e6884bd95028381176eb33bee6896fb)
Diffstat (limited to 'haddock-api/test')
0 files changed, 0 insertions, 0 deletions