Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Fix crash with Go parser #491

Merged
merged 1 commit into from
Nov 29, 2022
Merged

fix: Fix crash with Go parser #491

merged 1 commit into from
Nov 29, 2022

Conversation

afnanenayet
Copy link
Owner

@afnanenayet afnanenayet commented Nov 29, 2022

This fixes an error that happens when diffsitter attempts to print nodes
that only have whitespace.

We work around the issue by ignoring nodes that are only comprised of
whitespace. This should fix #468.

This fixes an error that happens when diffsitter attempts to print nodes
that only have whitespace.

We work around the issue by ignoring nodes that are only comprised of
whitespace.
@afnanenayet afnanenayet merged commit 116f96f into main Nov 29, 2022
@afnanenayet afnanenayet deleted the afnan/fix-out-of-bounds branch November 29, 2022 03:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Out of bounds index diffing Go code
1 participant