Skip to content

Conversation

@NathanReb
Copy link
Owner

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 NathanReb linked an issue Mar 11, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Embed errors in the generated AST instead of raising.

2 participants