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 Idx1 of ObjectLiteral and ArrayLiteral #504

Merged
merged 2 commits into from
Jul 20, 2023

Conversation

tyamagu2
Copy link
Contributor

Idx1 should point to the first character immediately after the node, rather than the last character of the node.

Fix Idx1 of object literal so that it points to the first character immediately after the right brace.
Fix Idx1 of ArrayLiteral so that it points to the character immediately after the right bracket.
Copy link
Collaborator

@stevenh stevenh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these fixes, appreciated :)

@stevenh stevenh merged commit d2ed0a7 into robertkrimen:master Jul 20, 2023
2 checks passed
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.

None yet

2 participants