aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/test/Documentation/Haddock/Parser/UtilSpec.hs
diff options
context:
space:
mode:
authorRik Steenkamp <rik@ewps.nl>2016-04-02 21:13:34 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2016-04-02 22:20:36 +0100
commit3ddcbd6b8e6884bd95028381176eb33bee6896fb (patch)
tree33a08f2263813fa7f6e2ad71db73c5280b63e93b /haddock-library/test/Documentation/Haddock/Parser/UtilSpec.hs
parentbb994de1ab0c76d1aaf1e39c54158db2526d31f1 (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
Diffstat (limited to 'haddock-library/test/Documentation/Haddock/Parser/UtilSpec.hs')
0 files changed, 0 insertions, 0 deletions