We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description The source location line_position does not indicate whether it is in UTF-8 code units, or if it counts code points (~characters)
line_position
wgpu/naga/src/span.rs
Lines 116 to 117 in 6040820
Observed behavior The actual computation counts characters
Line 76 in 6040820
The text was updated successfully, but these errors were encountered:
Documenting this should be valuable, since Firefox is a famous user of wgpu and even they messed it up https://bugzilla.mozilla.org/show_bug.cgi?id=1885238
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
The source location
line_position
does not indicate whether it is in UTF-8 code units, or if it counts code points (~characters)wgpu/naga/src/span.rs
Lines 116 to 117 in 6040820
Observed behavior
The actual computation counts characters
wgpu/naga/src/span.rs
Line 76 in 6040820
The text was updated successfully, but these errors were encountered: