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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
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
Alex D
GHC
Commits
fc8c5e7a
Commit
fc8c5e7a
authored
May 19, 2015
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac #8799, #8555
parent
753b156d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
testsuite/tests/typecheck/should_compile/T8555.hs
testsuite/tests/typecheck/should_compile/T8555.hs
+7
-0
testsuite/tests/typecheck/should_compile/T8799.hs
testsuite/tests/typecheck/should_compile/T8799.hs
+10
-0
testsuite/tests/typecheck/should_compile/all.T
testsuite/tests/typecheck/should_compile/all.T
+2
-0
No files found.
testsuite/tests/typecheck/should_compile/T8555.hs
0 → 100644
View file @
fc8c5e7a
{-# LANGUAGE FlexibleContexts #-}
module
T8555
where
import
Data.Coerce
foo
::
Coercible
[
a
]
[
b
]
=>
a
->
b
foo
=
coerce
testsuite/tests/typecheck/should_compile/T8799.hs
0 → 100644
View file @
fc8c5e7a
{-# LANGUAGE FlexibleContexts #-}
module
T8555
where
import
Data.Coerce
foo
::
Coercible
a
b
=>
b
->
a
foo
=
coerce
bar
::
(
Coercible
a
b
,
Coercible
b
c
)
=>
b
->
c
->
a
bar
b
c
=
coerce
c
testsuite/tests/typecheck/should_compile/all.T
View file @
fc8c5e7a
...
@@ -454,3 +454,5 @@ test('T10335', normal, compile, [''])
...
@@ -454,3 +454,5 @@ test('T10335', normal, compile, [''])
test
('
Improvement
',
normal
,
compile
,
[''])
test
('
Improvement
',
normal
,
compile
,
[''])
test
('
T10009
',
normal
,
compile
,
[''])
test
('
T10009
',
normal
,
compile
,
[''])
test
('
T10390
',
normal
,
compile
,
[''])
test
('
T10390
',
normal
,
compile
,
[''])
test
('
T8555
',
normal
,
compile
,
[''])
test
('
T8799
',
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