From 381724bfd8941d96fb51a0aa8d9dc46d6e3b2b07 Mon Sep 17 00:00:00 2001 From: Joachim Breitner Date: Wed, 4 Dec 2013 09:02:50 +0000 Subject: Update output: More elaborate GND error messages --- testsuite/tests/roles/should_fail/Roles10.stderr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testsuite/tests/roles') 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 -- cgit v1.2.1