diff options
author | Rik Steenkamp <rik@ewps.nl> | 2016-04-02 20:39:10 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2016-04-02 22:40:39 +0100 |
commit | 72bd7f7be7809076f321a6fca90024e3e1bde3cc (patch) | |
tree | cd2249b637e57e1f2bac97ba23cbd64d94bf4bfa /testsuite/tests/patsyn/should_compile/all.T | |
parent | 38068913c13fa64bd776fab6cf0e971c1a18b54d (diff) | |
download | haskell-72bd7f7be7809076f321a6fca90024e3e1bde3cc.tar.gz |
Improve printing of pattern synonym types
Add the function `pprPatSynType :: PatSyn -> SDoc` for printing pattern
synonym types, and remove the ambiguous `patSynType` function. Also,
the types in a `PatSyn` are now tidy.
Haddock submodule updated to reflect the removal of `patSynType` by
mpickering.
Fixes: #11213.
Reviewers: goldfire, simonpj, austin, mpickering, bgamari
Reviewed By: simonpj, mpickering
Subscribers: bollmann, simonpj, thomie
Differential Revision: https://phabricator.haskell.org/D1896
GHC Trac Issues: #11213
Diffstat (limited to 'testsuite/tests/patsyn/should_compile/all.T')
-rw-r--r-- | testsuite/tests/patsyn/should_compile/all.T | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_compile/all.T b/testsuite/tests/patsyn/should_compile/all.T index 0fc26cba23..3032096629 100644 --- a/testsuite/tests/patsyn/should_compile/all.T +++ b/testsuite/tests/patsyn/should_compile/all.T @@ -44,6 +44,7 @@ test('export-record-selector', normal, compile, ['']) test('T10897', normal, multi_compile, ['T10897', [ ('T10897a.hs','-c') ], '-v0']) +test('T11213', normal, compile, ['']) test('T11224b', normal, compile, ['']) test('MoreEx', normal, compile, ['']) test('T11283', normal, compile, ['']) |