diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2013-12-04 09:02:50 +0000 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2013-12-04 09:02:50 +0000 |
commit | 381724bfd8941d96fb51a0aa8d9dc46d6e3b2b07 (patch) | |
tree | 3ee89a678533245a1ff209aa9a1748ab6f3714ac /testsuite/tests/roles | |
parent | f6f82a9181aba60dfc28472ee4384e6026cd3f23 (diff) | |
download | haskell-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.stderr | 3 |
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 |