Skip to content
GitLab
Menu
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
8fea2acd
Commit
8fea2acd
authored
Nov 18, 2014
by
eir@cis.upenn.edu
Browse files
Test
#9201
in typecheck/should_fail/T9201
parent
5eebd990
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/typecheck/should_fail/T9201.hs
0 → 100644
View file @
8fea2acd
{-# LANGUAGE PolyKinds, FunctionalDependencies, MultiParamTypeClasses #-}
module
T9201
where
class
MonoidalCCC
(
f
::
x
->
y
)
(
d
::
y
->
y
->
*
)
|
f
->
d
where
ret
::
d
a
(
f
a
)
testsuite/tests/typecheck/should_fail/T9201.stderr
0 → 100644
View file @
8fea2acd
T9201.hs:6:17:
The first argument of ‘f’ should have kind ‘x1’,
but ‘a’ has kind ‘y1’
In the type ‘d a (f a)’
In the class declaration for ‘MonoidalCCC’
testsuite/tests/typecheck/should_fail/all.T
View file @
8fea2acd
...
...
@@ -343,3 +343,4 @@ test('T9634', normal, compile_fail, [''])
test
('
T9739
',
normal
,
compile_fail
,
[''])
test
('
T9774
',
normal
,
compile_fail
,
[''])
test
('
T9318
',
normal
,
compile_fail
,
[''])
test
('
T9201
',
normal
,
compile_fail
,
[''])
Write
Preview
Supports
Markdown
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