Skip to content

More descriptive error messages #17

Description

@jbearer

Allow error messages to include multiple source locations, with customized formatting for embedding the source location into the middle of the text of the message. For this we could use a custom string formatter, something like

Blimp_ErrorMsg(blimp, BLIMP_ERROR, "something went wrong here: {} and here: {}", range1, range2, ...printf args)

We can also support custom formatting and pretty-printing for types besides SourceRange, such as ParseTree, Expr, and Object.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions