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

change of behaviour? #323

Open
progman1 opened this issue Feb 11, 2022 · 0 comments
Open

change of behaviour? #323

progman1 opened this issue Feb 11, 2022 · 0 comments

Comments

@progman1
Copy link

hi

I have a ppx that was working under 0.20 and now exhibits different
behaviour under 0.24

my extension processor is defined thus:

let expand ~loc ~path (e : expression) =
...

let ext=
  Extension.declare
    "pr"
    Extension.Context.expression
    Ast_pattern.(pstr ((pstr_eval __ nil) ^:: nil))
    expand

under 0.20 the path passed to expand looked like:

lib/myfile.ml

but under 0.24 it is:

lib/myfile.ml.Map

where did ".Map" come from?!

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

No branches or pull requests

1 participant