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,324
Issues
4,324
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
377
Merge Requests
377
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
eb32f344
Commit
eb32f344
authored
Apr 26, 2012
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#6020
again, and
#6044
parent
fa48f52a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
testsuite/tests/polykinds/T6020a.hs
testsuite/tests/polykinds/T6020a.hs
+16
-0
testsuite/tests/polykinds/T6044.hs
testsuite/tests/polykinds/T6044.hs
+6
-0
testsuite/tests/polykinds/all.T
testsuite/tests/polykinds/all.T
+2
-0
No files found.
testsuite/tests/polykinds/T6020a.hs
0 → 100644
View file @
eb32f344
{-# LANGUAGE DataKinds, FunctionalDependencies, FlexibleInstances,
UndecidableInstances, PolyKinds, KindSignatures,
ConstraintKinds, FlexibleContexts, GADTs #-}
module
T6020a
where
class
Id
(
a
::
k
)
(
b
::
k
)
|
b
->
a
instance
a
~
b
=>
Id
a
b
class
Test
(
x
::
a
)
(
y
::
a
)
instance
(
Id
x
y
,
Id
y
z
)
=>
Test
x
z
test
::
Test
True
True
=>
()
test
=
()
testsuite/tests/polykinds/T6044.hs
0 → 100644
View file @
eb32f344
{-# LANGUAGE PolyKinds, DataKinds, TypeFamilies, KindSignatures #-}
module
T6044
where
type
family
Foo
(
a
::
k
)
::
Maybe
k
type
instance
Foo
a
=
Just
a
testsuite/tests/polykinds/all.T
View file @
eb32f344
...
@@ -41,3 +41,5 @@ test('T6025', normal, run_command, ['$MAKE -s --no-print-directory T6025'])
...
@@ -41,3 +41,5 @@ test('T6025', normal, run_command, ['$MAKE -s --no-print-directory T6025'])
test
('
T6002
',
normal
,
compile
,
[''])
test
('
T6002
',
normal
,
compile
,
[''])
test
('
T6039
',
normal
,
compile_fail
,
[''])
test
('
T6039
',
normal
,
compile_fail
,
[''])
test
('
T6021
',
normal
,
compile_fail
,
[''])
test
('
T6021
',
normal
,
compile_fail
,
[''])
test
('
T6020a
',
normal
,
compile
,
[''])
test
('
T6044
',
normal
,
compile
,
[''])
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