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

Support 4.12 #107

Merged
merged 14 commits into from
Oct 21, 2020
Merged

Support 4.12 #107

merged 14 commits into from
Oct 21, 2020

Conversation

ceastlund
Copy link
Collaborator

Added support for 4.12 compiler to ocaml-migrate-parsetree. Updated instructions in README for adding new versions.

@ceastlund ceastlund requested review from a user and NathanReb September 23, 2020 21:41
src/ast_412.ml Outdated Show resolved Hide resolved
@NathanReb
Copy link
Collaborator

Following #106 we'll need to upgrade the upper bound!

@hhugo
Copy link
Contributor

hhugo commented Oct 7, 2020

The build fails with old version of the compiler

characters 9-19:
# Error: Unbound module Option

Signed-off-by: Carl Eastlund <[email protected]>
Signed-off-by: Carl Eastlund <[email protected]>
Signed-off-by: Carl Eastlund <[email protected]>
Signed-off-by: Carl Eastlund <[email protected]>
Signed-off-by: Carl Eastlund <[email protected]>
Signed-off-by: Carl Eastlund <[email protected]>
Signed-off-by: Carl Eastlund <[email protected]>
Copy link
Collaborator

@NathanReb NathanReb left a comment

Choose a reason for hiding this comment

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

We need to upgrade the constraint in the opam file from < "4.12" to < "4.13" but besides that it looks good to me!

@ceastlund can you confirm once the constraint is updated this is good to go? I'd like to cut a release ASAP!

@NathanReb
Copy link
Collaborator

Hmm actually it seems this breaks the compat with ocaml < 4.07, see the CI failure:

File "src/migrate_411_412.ml", line 1194, characters 20-42:
Error: Unbound module Stdlib
Hint: Did you mean Stdlib0?

src/migrate_411_412.ml Show resolved Hide resolved
src/migrate_411_412.ml Outdated Show resolved Hide resolved
@ceastlund
Copy link
Collaborator Author

Hmm actually it seems this breaks the compat with ocaml < 4.07, see the CI failure:

File "src/migrate_411_412.ml", line 1194, characters 20-42:
Error: Unbound module Stdlib
Hint: Did you mean Stdlib0?

I don't get this error with, say, 4.04 currently. It should be fixed as of 058ff45. What compiler version and what git revision are you using that still gets that error?

@ceastlund
Copy link
Collaborator Author

We need to upgrade the constraint in the opam file from < "4.12" to < "4.13" but besides that it looks good to me!

@ceastlund can you confirm once the constraint is updated this is good to go? I'd like to cut a release ASAP!

As far as I know this is good to go, but of course I've missed things other people had to point out. If it looks good to you now, it also looks good to me.

@NathanReb
Copy link
Collaborator

I don't get this error with, say, 4.04 currently. It should be fixed as of 058ff45. What compiler version and what git revision are you using that still gets that error?

That was in the CI but it's fixed now!

Copy link
Collaborator

@NathanReb NathanReb left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@NathanReb NathanReb merged commit c85866f into ocaml-ppx:master Oct 21, 2020
NathanReb added a commit to NathanReb/opam-repository that referenced this pull request Oct 22, 2020
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.

4 participants