summaryrefslogtreecommitdiff
path: root/testsuite/tests/roles
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2013-12-04 09:02:50 +0000
committerJoachim Breitner <mail@joachim-breitner.de>2013-12-04 09:02:50 +0000
commit381724bfd8941d96fb51a0aa8d9dc46d6e3b2b07 (patch)
tree3ee89a678533245a1ff209aa9a1748ab6f3714ac /testsuite/tests/roles
parentf6f82a9181aba60dfc28472ee4384e6026cd3f23 (diff)
downloadhaskell-381724bfd8941d96fb51a0aa8d9dc46d6e3b2b07.tar.gz
Update output: More elaborate GND error messages
Diffstat (limited to 'testsuite/tests/roles')
-rw-r--r--testsuite/tests/roles/should_fail/Roles10.stderr3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/roles/should_fail/Roles10.stderr b/testsuite/tests/roles/should_fail/Roles10.stderr
index 230f2c9c00..1c636580b9 100644
--- a/testsuite/tests/roles/should_fail/Roles10.stderr
+++ b/testsuite/tests/roles/should_fail/Roles10.stderr
@@ -2,7 +2,8 @@
Roles10.hs:16:12:
Could not coerce from ‛Bool’ to ‛Char’
because ‛Bool’ and ‛Char’ are different types.
- arising from the 'deriving' clause of a data type declaration
+ arising from the coercion of the method ‛meth’ from type
+ ‛Int -> F Int’ to type ‛Age -> F Age’
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself