diff options
author | Swann Moreau <evertedsphere@gmail.com> | 2022-06-30 10:08:07 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-08-19 18:29:21 -0400 |
commit | 51ffd00906d1c75dc72c71ba4216b480996c8ce2 (patch) | |
tree | bad8746acded2a4da4de1ef3a3eb90c51e7f66d9 /libraries/base | |
parent | e5567289c576a76f62bd78bd823a824c7ca83de6 (diff) | |
download | haskell-51ffd00906d1c75dc72c71ba4216b480996c8ce2.tar.gz |
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
Diffstat (limited to 'libraries/base')
-rw-r--r-- | libraries/base/tests/T9681.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/tests/T9681.stderr b/libraries/base/tests/T9681.stderr index c07fe42cbb..4db2fa4940 100644 --- a/libraries/base/tests/T9681.stderr +++ b/libraries/base/tests/T9681.stderr @@ -1,6 +1,6 @@ T9681.hs:3:7: error: - • No instance for (Num String) arising from the literal ‘1’ + • No instance for ‘Num String’ arising from the literal ‘1’ • In the first argument of ‘(+)’, namely ‘1’ In the expression: 1 + "\n" In an equation for ‘foo’: foo = 1 + "\n" |