fix: set input_lexbuf when reading binary AST too#483
fix: set input_lexbuf when reading binary AST too#483NathanReb merged 2 commits intoocaml-ppx:trunk-supportfrom
Conversation
12cf329 to
db788a9
Compare
|
@anmonteiro I'm not super familiar with With reason you're using the driver on the marshalled AST resulting from parsing the reason syntax, whereas with regular OCaml syntax, you're using the driver directly on the source files. Are my assumptions correct? |
|
I don’t think so. There’s no dialect present in my repro https://github.com/anmonteiro/no-source-quotation-repro I think this will rather happen on all staged_pps (the instructions in my repro pass the |
|
Ok thanks for the details! I'll add a test for this and merge! |
Signed-off-by: Nathan Rebours <nathan.p.rebours@gmail.com>
db788a9 to
0f3350c
Compare
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
0f3350c to
b6e4c93
Compare
NathanReb
left a comment
There was a problem hiding this comment.
Thanks for the fix!
I just fixed the formatting and added a test to show the before/after the fix.
|
Thank you! |
see ocaml/ocaml#12991