Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,249
Issues
4,249
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
394
Merge Requests
394
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8fea2acd
Commit
8fea2acd
authored
Nov 18, 2014
by
eir@cis.upenn.edu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test
#9201
in typecheck/should_fail/T9201
parent
5eebd990
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
testsuite/tests/typecheck/should_fail/T9201.hs
testsuite/tests/typecheck/should_fail/T9201.hs
+6
-0
testsuite/tests/typecheck/should_fail/T9201.stderr
testsuite/tests/typecheck/should_fail/T9201.stderr
+6
-0
testsuite/tests/typecheck/should_fail/all.T
testsuite/tests/typecheck/should_fail/all.T
+1
-0
No files found.
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
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