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
I use a parser which reports code locations as byte spans instead of char spans. It would be nice if via config we could specify byte offsets instead of char offsets.
I use a parser which reports code locations as byte spans instead of char spans. It would be nice if via config we could specify byte offsets instead of char offsets.
One way would be in this line:
ariadne/src/source.rs
Line 94 in ccd4651
to switch to:
based on the configuration. Of note, this actually fixes some of the spacing issues like in #41 if the location producer also uses bytes.
The text was updated successfully, but these errors were encountered: