From 51ffd00906d1c75dc72c71ba4216b480996c8ce2 Mon Sep 17 00:00:00 2001 From: Swann Moreau Date: Thu, 30 Jun 2022 10:08:07 +0200 Subject: Print constraints in quotes (#21167) This patch improves the uniformity of error message formatting by printing constraints in quotes, as we do for types. Fix #21167 --- testsuite/tests/typecheck/should_fail/T19977a.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/tests/typecheck/should_fail/T19977a.stderr') diff --git a/testsuite/tests/typecheck/should_fail/T19977a.stderr b/testsuite/tests/typecheck/should_fail/T19977a.stderr index 296a8c90a6..3bce358d49 100644 --- a/testsuite/tests/typecheck/should_fail/T19977a.stderr +++ b/testsuite/tests/typecheck/should_fail/T19977a.stderr @@ -1,6 +1,6 @@ T19977a.hs:11:7: error: - • Could not deduce (Show a) arising from a use of ‘f’ + • Could not deduce ‘Show a’ arising from a use of ‘f’ from the context: Show [a] bound by the type signature for: g :: forall a. Show [a] => a -> String -- cgit v1.2.1