summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/PolyKinds04.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-10-19 02:20:12 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-10-19 02:20:12 +0100
commit8bc6c4a613b5d16118469248cfb8025a5175a174 (patch)
tree56146daa18ef6f54974bf2c22c9121e2912a51da /testsuite/tests/polykinds/PolyKinds04.stderr
parent09cdd12b22bcff1876ea80c0d9878507c2ed4f1f (diff)
downloadhaskell-8bc6c4a613b5d16118469248cfb8025a5175a174.tar.gz
Improvements to kind error messages, mainly
Also some expected/actual messages are now the right way round
Diffstat (limited to 'testsuite/tests/polykinds/PolyKinds04.stderr')
-rw-r--r--testsuite/tests/polykinds/PolyKinds04.stderr14
1 files changed, 8 insertions, 6 deletions
diff --git a/testsuite/tests/polykinds/PolyKinds04.stderr b/testsuite/tests/polykinds/PolyKinds04.stderr
index 484b0991ab..2796b1a898 100644
--- a/testsuite/tests/polykinds/PolyKinds04.stderr
+++ b/testsuite/tests/polykinds/PolyKinds04.stderr
@@ -1,6 +1,8 @@
-
-PolyKinds04.hs:5:16:
- Expecting one more argument to `Maybe'
- In the type `A Maybe'
- In the definition of data constructor `B1'
- In the data declaration for `B'
+
+PolyKinds04.hs:5:16:
+ Expecting one more argument to `Maybe'
+ The first argument of `A' should have kind `*',
+ but `Maybe' has kind `* -> *'
+ In the type `A Maybe'
+ In the definition of data constructor `B1'
+ In the data declaration for `B'