brimdata / zed

A novel data lake based on super-structured data
https://zed.brimdata.io/
BSD 3-Clause "New" or "Revised" License
1.34k stars 67 forks source link

Localized Errors #5120

Closed mattnibs closed 1 month ago

mattnibs commented 2 months ago

This commit introduces localized errors- functionality for tying generated errors to a location in a Zed source set. A version of this somewhat exists currently but it is limited in that it is specific only to Parse errors and currently only supports returning a single error. In this pr localized errors are only used for parser errors but a follow up commit will enable localized errors for semantic errors as well.

mattnibs commented 1 month ago

Reformatting we'll be right back...