Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
d7eccdaf
Commit
d7eccdaf
authored
Jan 30, 2013
by
Simon Peyton Jones
Browse files
Improve test
parent
c588568b
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/typecheck/should_fail/T7609.hs
View file @
d7eccdaf
...
...
@@ -6,3 +6,6 @@ data X a b
f
::
(
a
`
X
`
a
,
Maybe
)
f
=
undefined
g
::
(
a
`
X
`
a
)
=>
Maybe
g
=
undefined
\ No newline at end of file
testsuite/tests/typecheck/should_fail/T7609.stderr
View file @
d7eccdaf
...
...
@@ -4,3 +4,8 @@ T7609.hs:7:16:
The second argument of a tuple should have kind `*',
but `Maybe' has kind `* -> *'
In the type signature for `f': f :: (a `X` a, Maybe)
T7609.hs:10:19:
Expecting one more argument to `Maybe'
Expected a type, but `Maybe' has kind `* -> *'
In the type signature for `g': g :: a `X` a => Maybe
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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