ppx_yojson icon indicating copy to clipboard operation
ppx_yojson copied to clipboard

Embed errors in AST instead of raising exceptions

Open NathanReb opened this issue 2 years ago • 0 comments
trafficstars

This replaces uses of Location.raise_errorf by generating an ocaml.error extension node and inserting it into the generated AST.

This allows the ppx to process all extension nodes and to produce all errors in a single run so that they can all be reported by merlin in the editor.

NathanReb avatar Sep 28 '23 07:09 NathanReb