Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
f814b722
Commit
f814b722
authored
May 13, 2009
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow improvements in kind error messages
parent
b861c926
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
testsuite/tests/ghc-regress/rename/should_fail/rnfail026.stderr
...ite/tests/ghc-regress/rename/should_fail/rnfail026.stderr
+2
-1
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail113.stderr
.../tests/ghc-regress/typecheck/should_fail/tcfail113.stderr
+2
-1
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail132.stderr
.../tests/ghc-regress/typecheck/should_fail/tcfail132.stderr
+1
-1
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail160.stderr
.../tests/ghc-regress/typecheck/should_fail/tcfail160.stderr
+2
-1
No files found.
testsuite/tests/ghc-regress/rename/should_fail/rnfail026.stderr
View file @
f814b722
rnfail026.hs:16:16:
Kind mis-match
Expected kind `* -> *', but `Set a' has kind `*'
The first argument of `Monad' should have kind `* -> *',
but `Set a' has kind `*'
In the instance declaration for `Monad (forall a. (Eq a) => Set a)'
rnfail026.hs:19:0:
...
...
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail113.stderr
View file @
f814b722
...
...
@@ -7,7 +7,8 @@ tcfail113.hs:12:6:
tcfail113.hs:15:7:
Kind mis-match
Expected kind `* -> *', but `Int' has kind `*'
The first argument of `T' should have kind `* -> *',
but `Int' has kind `*'
In the type signature for `g':
g :: T Int
...
...
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail132.stderr
View file @
f814b722
tcfail132.hs:17:36:
Kind mis-match
Expected
kind `k -> k1 -> k2 -> *',
The first argument of `T' should have
kind `k -> k1 -> k2 -> *',
but `Object f' f t' has kind `k -> k1 -> *'
In the type `T (Object f' f t) (DUnit t)'
In the type synonym declaration for `LiftObject'
testsuite/tests/ghc-regress/typecheck/should_fail/tcfail160.stderr
View file @
f814b722
tcfail160.hs:7:7:
Kind mis-match
Expected kind `* -> *', but `Int' has kind `*'
The first argument of `T' should have kind `* -> *',
but `Int' has kind `*'
In the type signature for `g':
g :: T Int
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment