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.
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
We can also support custom formatting and pretty-printing for types besides
SourceRange, such asParseTree,Expr, andObject.