ppxlib icon indicating copy to clipboard operation
ppxlib copied to clipboard

change of behaviour?

Open progman1 opened this issue 4 years ago • 0 comments

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?!

progman1 avatar Feb 11 '22 11:02 progman1