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

Setting chars does not update loc #997

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wagenet
Copy link

@wagenet wagenet commented Nov 14, 2024

No description provided.

@rwjblue
Copy link
Member

rwjblue commented Nov 17, 2024

I'd have to look deeper to be 100% sure, but I'm fairly sure we don't do anything special to keep loc updated after a mutation. It's probably possible to do, but it's likely to be pretty hard.

Depending on what you are doing, you might be better off round tripping (mutate, then print, then parse again)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants