Commit d7eccdaf authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Improve test

parent c588568b
......@@ -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
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment