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 codeFrame for parsing { #44

Merged
merged 4 commits into from Nov 9, 2023

Conversation

fisker
Copy link
Contributor

@fisker fisker commented Nov 9, 2023

It seems we got unexpected error when parsing {

Uncaught RangeError: Index out of bounds

Thrown by index-to-position.

@fisker fisker changed the title Add test [TBD]] Nov 9, 2023
@fisker fisker changed the title [TBD]] Fix codeFrame for parsing { Nov 9, 2023
@fisker fisker marked this pull request as ready for review November 9, 2023 06:49
@sindresorhus sindresorhus merged commit 13cf9c1 into sindresorhus:main Nov 9, 2023
3 checks passed
@fisker fisker deleted the index-to-position branch November 9, 2023 07:53
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