diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2015-11-11 10:49:44 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-11 10:53:22 +0100 |
commit | 96621b1b4979f449e873513e9de8d806257c9493 (patch) | |
tree | a8c3080fc878d0139256467d6f854586083df602 /testsuite/tests/patsyn/should_fail/all.T | |
parent | 3cfe60aebb9de2a1d897a111f779eacb6614b7cc (diff) | |
download | haskell-96621b1b4979f449e873513e9de8d806257c9493.tar.gz |
Associate pattern synonyms with types in module exports
This patch implements #10653.
It adds the ability to bundle pattern synonyms with type constructors in
export lists so that users can treat pattern synonyms more like data
constructors.
Updates haddock submodule.
Test Plan: ./validate
Reviewers: goldfire, austin, bgamari
Reviewed By: bgamari
Subscribers: simonpj, gridaphobe, thomie
Differential Revision: https://phabricator.haskell.org/D1258
GHC Trac Issues: #10653
Diffstat (limited to 'testsuite/tests/patsyn/should_fail/all.T')
-rw-r--r-- | testsuite/tests/patsyn/should_fail/all.T | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_fail/all.T b/testsuite/tests/patsyn/should_fail/all.T index 7e3446f1f5..d5ebca9cf3 100644 --- a/testsuite/tests/patsyn/should_fail/all.T +++ b/testsuite/tests/patsyn/should_fail/all.T @@ -17,3 +17,11 @@ test('records-exquant', normal, compile_fail, ['']) test('records-poly-update', normal, compile_fail, ['']) test('mixed-pat-syn-record-sels', normal, compile_fail, ['']) test('T11039', [expect_broken(11039)], compile_fail, ['']) +test('export-type', normal, compile_fail, ['']) +test('export-syntax', normal, compile_fail, ['']) +test('import-syntax', normal, compile_fail, ['']) +test('export-class', normal, compile_fail, ['']) +test('poly-export-fail2', expect_broken(10653), compile_fail, ['']) +test('export-super-class-fail', expect_broken(10653), compile_fail, ['']) +test('export-type-synonym', normal, compile_fail, ['']) +test('export-ps-rec-sel', normal, compile_fail, ['']) |