diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-10-19 02:20:12 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-10-19 02:20:12 +0100 |
commit | 8bc6c4a613b5d16118469248cfb8025a5175a174 (patch) | |
tree | 56146daa18ef6f54974bf2c22c9121e2912a51da /testsuite/tests/polykinds/PolyKinds04.stderr | |
parent | 09cdd12b22bcff1876ea80c0d9878507c2ed4f1f (diff) | |
download | haskell-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.stderr | 14 |
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' |