Skip to content

Do not expose *raise* functions #20

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions