ppx_tools icon indicating copy to clipboard operation
ppx_tools copied to clipboard

Rewriter does not include source file in locations

Open jonathan-dilorenzo opened this issue 8 years ago • 0 comments

It seems the rewriter does not include the source file in location information for some reason.

When I use ocamlc to spit out new source and print a location (in my AST mapper) I get:

File "examples/test.ml", line 3, characters 0-166

When I use the rewriter I get:

File "", line 3, characters 0-166

jonathan-dilorenzo avatar May 15 '16 21:05 jonathan-dilorenzo