Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.05 typing fix #20

Merged
merged 1 commit into from
Feb 26, 2017
Merged

4.05 typing fix #20

merged 1 commit into from
Feb 26, 2017

Conversation

gasche
Copy link
Contributor

@gasche gasche commented Feb 25, 2017

In 4.05, checking for non-generalizable inference variable ('_a)
(forbidden in toplevel modules and functors) happens before checking
the .ml file against the .mli signature, so non-generalizable
variables that were previously resolved through the .mli constraint
are now underspecified and result in a compilation failure
(see MPR#7414, GPR#929). This commit adds enough annotations to avoid
such underspecified variables in functors.

In 4.05, checking for non-generalizable inference variable ('_a)
(forbidden in toplevel modules and functors) happens before checking
the .ml file against the .mli signature, so non-generalizable
variables that were previously resolved through the .mli constraint
are now underspecified and result in a compilation failure
(see MPR#7414, GPR#929). This commit adds enough annotations to avoid
such underspecified variables in functors.
@gasche gasche mentioned this pull request Feb 25, 2017
@yoriyuki yoriyuki merged commit 3f4d657 into yoriyuki:master Feb 26, 2017
gasche added a commit to gasche/opam-repository that referenced this pull request Mar 12, 2017
…ml 4.05.0

The patch is taken from the upstream repository
  https://github.com/yoriyuki/Camomile/commit/0fa0a19f15998e89e4b04150dd74529bbd406f42.patch

(I had to remove all "Camomile/" occurrences to adapt to the
 release-packaging filesystem organization)

This should be the only change required to get Camomile working under 4.05.0,
even though Camomile testing revealed a few regressions in the 4.05.0+beta2 --
the patch in itself does not suffice to compile Camomile on 4.05.0+beta2, but
the remaining issues will be fixed upstream before the release.

More context:
  yoriyuki/Camomile#21
  yoriyuki/Camomile#20

See the upstream 4.05.0 compatibility discussion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants