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

Don't leak OMP's config through ppxlib's API #149

Merged
merged 1 commit into from
Jun 29, 2020

Conversation

NathanReb
Copy link
Collaborator

This removes Migrate_parestree.Driver.config from ppxlib's interface. We still expose the tool_name as it's the only part of it that was used as far as I can tell. This change is required ahead of the future omp.2.0.0 release.

@NathanReb NathanReb requested a review from a user June 26, 2020 08:46
@NathanReb NathanReb requested a review from xclerc as a code owner June 26, 2020 08:46
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Looks good!

One nitpick: I'd remove the mention of ocamldoc in the doc. It's legacy software and it's pretty unlikely ppx rewriters will ever be called by ocamldoc.

@NathanReb
Copy link
Collaborator Author

This is extremely weird but I pushed an extra commit to my branch with the removal of the ocamldoc mentions and for some reasons it doesn't show up here.

@ghost
Copy link

ghost commented Jun 29, 2020

Github is having issues today. The CI results are going to be the same after adjusting the comment, so you can commit&push to master directly.

@NathanReb NathanReb merged commit 8f619f1 into ocaml-ppx:master Jun 29, 2020
NathanReb added a commit to NathanReb/opam-repository that referenced this pull request Jul 8, 2020
CHANGES:

- Bump ppxlib's AST to 4.10 (ocaml-ppx/ppxlib#130, @NathanReb)

- Remove omp_config from `Expansion_context` and replace it with `tool_name`
  (ocaml-ppx/ppxlib#149, @NathanReb)

- Change undocumented `Ppxlib.Driver.map_structure` to return a ppxlib's
  `structure` instead of a `Migrate_parsetree.Driver.some_structure`.
  (ocaml-ppx/ppxlib#153, @NathanReb)
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.

1 participant