Skip to content
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

Fix parser translator ranges for mulltiline strings with multiline bytes #3400

Merged

Conversation

Earlopain
Copy link
Contributor

A rather silly issue with a rather simple fix.
The ranges already use the offset cache, this effectivly double-encoded them.

Properly fixes rubocop/rubocop#12982
Fixes rubocop/rubocop#13204

I didn't at tests since it seems highly specific but I can add one if you prefer.

A rather silly issue with a rather simple fix.
The ranges already use the offset cache, this effectivly double-encoded them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants