Skip to content

OCaml 4.08 compatibility#309

Merged
aantron merged 3 commits intoocaml:masterfrom
jonludlam:408-compat
Feb 19, 2019
Merged

OCaml 4.08 compatibility#309
aantron merged 3 commits intoocaml:masterfrom
jonludlam:408-compat

Conversation

@jonludlam
Copy link
Copy Markdown
Member

@jonludlam jonludlam commented Feb 19, 2019

Further work needs to be done to support the new typesubst/modsubst constructors.

Fixes #304

Signed-off-by: Jon Ludlam <jon@recoil.org>
Compilation only; no support for the new features.

Signed-off-by: Jon Ludlam <jon@recoil.org>
Signed-off-by: Jon Ludlam <jon@recoil.org>
Copy link
Copy Markdown
Contributor

@trefis trefis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tsig_typesubst and Tsig_modsubst remain to be done, but the worst that can happen will be unresolved references if someone uses them.
Whereas without this PR you simply can't load the .cmt, .cmti or .cmi files.

I'm in favor of merging now and improving support later.

@aantron
Copy link
Copy Markdown
Contributor

aantron commented Feb 19, 2019

Thanks @jonludlam and @trefis. I'll merge once the CI is done. Looks stuck for now :/ I'll add a 4.08 build to Travis right after merging (or push into this PR if the current CI build still hasn't started by then).

@jonludlam
Copy link
Copy Markdown
Member Author

The 4.08 travis build might be tricky until ocaml-migrate-parsetree is available. We'd have to remove the bisect_ppx dependency.

@aantron
Copy link
Copy Markdown
Contributor

aantron commented Feb 19, 2019

Looks like we also transitively depend on Ocamlbuild, which needs a release (ocaml/ocamlbuild#294).

@jonludlam
Copy link
Copy Markdown
Member Author

True - though there at least pinning master works.

@aantron aantron merged commit 0d77eba into ocaml:master Feb 19, 2019
@aantron
Copy link
Copy Markdown
Contributor

aantron commented Feb 19, 2019

@jonludlam or @trefis, would you mind opening a follow-up issue about "proper" support for the new 4.08 features?

@avsm
Copy link
Copy Markdown
Member

avsm commented Apr 14, 2019

I've opened up #350 to track the new features in 4.08

@aantron aantron mentioned this pull request Sep 13, 2019
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.

Odoc fails to compile with OCaml 4.08

4 participants