summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/all.T
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-07-30 15:08:28 +0200
committerBen Gamari <ben@smart-cactus.org>2015-07-30 17:05:35 +0200
commit4f80ec0ee438800d95673a4898e69371957fed09 (patch)
tree47b00b465f2e700aed1e50333c8e0f74e3a754e1 /testsuite/tests/deriving/should_fail/all.T
parent26315ed282db2eb1977872bbcb0b298f32b38e99 (diff)
downloadhaskell-4f80ec0ee438800d95673a4898e69371957fed09.tar.gz
Improve error message for newtypes and deriving clauses
Summary: Change the error message generated when a deriving clause related to a newtype fails to always suggested trying GeneralizedNewtypeDeriving, even in situations where it may not work. Fixes #9600. Test Plan: testsuite/deriving/should_fail/9600.hs Reviewers: austin, bgamari, simonpj Rebased-by: bgamari Reviewed By: simonpj Subscribers: bgamari, hvr, simonmar, carter Differential Revision: https://phabricator.haskell.org/D216 GHC Trac Issues: #9600
Diffstat (limited to 'testsuite/tests/deriving/should_fail/all.T')
-rw-r--r--testsuite/tests/deriving/should_fail/all.T2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/all.T b/testsuite/tests/deriving/should_fail/all.T
index 2e2511305e..94120d2912 100644
--- a/testsuite/tests/deriving/should_fail/all.T
+++ b/testsuite/tests/deriving/should_fail/all.T
@@ -51,6 +51,8 @@ test('T6147', normal, compile_fail, [''])
test('T8851', normal, compile_fail, [''])
test('T9071', normal, multimod_compile_fail, ['T9071',''])
test('T9071_2', normal, compile_fail, [''])
+test('T9600', normal, compile_fail, [''])
+test('T9600-1', normal, compile_fail, [''])
test('T9687', normal, compile_fail, [''])
test('T8984', normal, compile_fail, [''])