-
-
Notifications
You must be signed in to change notification settings - Fork 85
Initiial source ID and location #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Also the docs aren't clear about what's its use, and the |
I think I'm going to remove this in favour of a 'blessed' primary label that gets used as the canonical error location. I do want to keep this notion of there being a canonical single location for the error though, because this would allow for reporting short form errors in a manner similar to Rust's |
That sounds perfect. |
Uh oh!
There was an error while loading. Please reload this page.
In the method to create a report builder, there are two arguments corresponding to a source ID and a location. From reading the source code, these correspond to a
location
field inside the report builder struct, which is only ever used inariadne/src/write.rs
Line 137 in e3cb394
The text was updated successfully, but these errors were encountered: