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 /testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr | |
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 'testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr')
-rw-r--r-- | testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr b/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr index 1213844c57..baa39e8374 100644 --- a/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr +++ b/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr @@ -3,7 +3,7 @@ [3 of 4] Compiling Main ( TcPlugin_RewritePerf.hs, TcPlugin_RewritePerf.o ) TcPlugin_RewritePerf.hs:25:8: error: - • No instance for (Show + • No instance for ‘Show (Proxy '[ '[ 'Cube 'G 'B 'W 'R 'B 'G, 'Cube 'W 'G 'B 'W 'R 'R, 'Cube 'R 'W 'R 'B 'G 'R, 'Cube 'B 'R 'G 'G 'W 'W], @@ -20,7 +20,7 @@ TcPlugin_RewritePerf.hs:25:8: error: '[ 'Cube 'G 'B 'B 'W 'R 'G, 'Cube 'W 'R 'G 'B 'W 'R, 'Cube 'R 'G 'W 'R 'B 'R, 'Cube 'B 'W 'R 'G 'G 'W], '[ 'Cube 'G 'B 'B 'R 'W 'G, 'Cube 'R 'G 'R 'W 'B 'W, - 'Cube 'R 'W 'G 'B 'R 'R, 'Cube 'W 'R 'W 'G 'G 'B]])) + 'Cube 'R 'W 'G 'B 'R 'R, 'Cube 'W 'R 'W 'G 'G 'B]])’ arising from a use of ‘print’ • In the expression: print (Proxy :: Proxy (Solutions Cubes)) In an equation for ‘main’: |