Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alfredo Di Napoli
GHC
Commits
90f35612
Commit
90f35612
authored
Jan 29, 2016
by
eir@cis.upenn.edu
Browse files
Existentials should be specified.
This addresses point (2) from #11513.
parent
b962bcc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/basicTypes/DataCon.hs
View file @
90f35612
...
@@ -768,7 +768,7 @@ mkDataCon name declared_infix prom_info
...
@@ -768,7 +768,7 @@ mkDataCon name declared_infix prom_info
tag
=
assoc
"mkDataCon"
(
tyConDataCons
rep_tycon
`
zip
`
[
fIRST_TAG
..
])
con
tag
=
assoc
"mkDataCon"
(
tyConDataCons
rep_tycon
`
zip
`
[
fIRST_TAG
..
])
con
rep_arg_tys
=
dataConRepArgTys
con
rep_arg_tys
=
dataConRepArgTys
con
rep_ty
=
mkSpecForAllTys
univ_tvs
$
mk
Inv
ForAllTys
ex_tvs
$
rep_ty
=
mkSpecForAllTys
univ_tvs
$
mk
Spec
ForAllTys
ex_tvs
$
mkFunTys
rep_arg_tys
$
mkFunTys
rep_arg_tys
$
mkTyConApp
rep_tycon
(
mkTyVarTys
univ_tvs
)
mkTyConApp
rep_tycon
(
mkTyVarTys
univ_tvs
)
...
...
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