ppx icon indicating copy to clipboard operation
ppx copied to clipboard

Do not expose `*raise*` functions

Open ghost opened this issue 6 years ago • 0 comments

Using Location.raise_error has the annoying side effect that merlin can't do anything with the file. Instead, whenever we produce an error we should instead produce an [%%ocaml.error] extension point.

In ppx, we should expose no such Location.raise function to make sure new ppx rewriters do the right thing.

ghost avatar Nov 05 '19 12:11 ghost