You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's not currently a way to do this, unfortunately. It would be relatively trivial to change this though: just make the initial offset field optional, and then wrap the error location code in an if let, I'd think.
Does it also mean that it is not possible to generate a report not tied to any source but rather the file itself?
For instance, in my language file names have to be valid identifiers, so I would like to print a ariadne-style error diagnostic if a file name is not that. Is that possible?
How do you emit an error which is not tied to a specific line number? For example, "File not found".
The text was updated successfully, but these errors were encountered: