Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
GHC
Commits
c72c369b
Commit
c72c369b
authored
5 years ago
by
Vladislav Zavialov
Committed by
Ben Gamari
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add a minimized regression test for
#12928
parent
5cf8032e
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/tests/typecheck/should_compile/T12928.hs
+17
-0
17 additions, 0 deletions
testsuite/tests/typecheck/should_compile/T12928.hs
testsuite/tests/typecheck/should_compile/all.T
+1
-0
1 addition, 0 deletions
testsuite/tests/typecheck/should_compile/all.T
with
18 additions
and
0 deletions
testsuite/tests/typecheck/should_compile/T12928.hs
0 → 100644
+
17
−
0
View file @
c72c369b
{-# LANGUAGE DataKinds, PolyKinds #-}
module
T12928
where
data
P
(
a
::
k
)
=
MkP
data
FffSym0
(
l
::
P
a
)
-- Make sure that the kind of 'k' is not defaulted:
--
-- data FffSym0 (l :: P (a :: Type))
--
-- We expect kind polymorphism:
--
-- data FffSym0 (l :: P (a :: k))
--
type
Inst
(
a
::
P
Either
)
(
b
::
P
Maybe
)
=
(
FffSym0
a
,
FffSym0
b
)
This diff is collapsed.
Click to expand it.
testsuite/tests/typecheck/should_compile/all.T
+
1
−
0
View file @
c72c369b
...
...
@@ -673,3 +673,4 @@ test('T13951', normal, compile, [''])
test
('
T16411
',
normal
,
compile
,
[''])
test
('
T16609
',
normal
,
compile
,
[''])
test
('
T505
',
normal
,
compile
,
[''])
test
('
T12928
',
normal
,
compile
,
[''])
This diff is collapsed.
Click to expand it.
Ben Gamari
@bgamari
mentioned in merge request
!918 (closed)
·
5 years ago
mentioned in merge request
!918 (closed)
mentioned in merge request !918
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment