summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-06-08 09:44:52 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-06-08 09:44:52 +0100
commitbb639e4a90e17a9e0074c0fd9e82aed8d58264db (patch)
tree4ebfe5290c931c73405fc27f30e42e97874c6352
parent91ea5b4c3d6e2abbe0812e9447096fa459c2388c (diff)
downloadhaskell-bb639e4a90e17a9e0074c0fd9e82aed8d58264db.tar.gz
Wibble to error message
-rw-r--r--testsuite/tests/deriving/should_fail/drvfail002.stderr13
1 files changed, 8 insertions, 5 deletions
diff --git a/testsuite/tests/deriving/should_fail/drvfail002.stderr b/testsuite/tests/deriving/should_fail/drvfail002.stderr
index c174c69055..281c6a3ac3 100644
--- a/testsuite/tests/deriving/should_fail/drvfail002.stderr
+++ b/testsuite/tests/deriving/should_fail/drvfail002.stderr
@@ -1,6 +1,9 @@
-drvfail002.hs:16:10:
- Ambiguous constraint `X T c'
- At least one of the forall'd type variables mentioned by the constraint
- must be reachable from the type after the '=>'
- In the instance declaration for `Show T'
+drvfail002.hs:19:23:
+ No instance for (X T c)
+ arising from the 'deriving' clause of a data type declaration
+ Possible fix:
+ add an instance declaration for (X T c)
+ or use a standalone 'deriving instance' declaration,
+ so you can specify the instance context yourself
+ When deriving the instance for (Show S)