diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-06-08 09:44:52 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-06-08 09:44:52 +0100 |
commit | bb639e4a90e17a9e0074c0fd9e82aed8d58264db (patch) | |
tree | 4ebfe5290c931c73405fc27f30e42e97874c6352 | |
parent | 91ea5b4c3d6e2abbe0812e9447096fa459c2388c (diff) | |
download | haskell-bb639e4a90e17a9e0074c0fd9e82aed8d58264db.tar.gz |
Wibble to error message
-rw-r--r-- | testsuite/tests/deriving/should_fail/drvfail002.stderr | 13 |
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) |