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

Properly track line numbers for keyword binary operators #449

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

reese
Copy link
Collaborator

@reese reese commented Dec 6, 2023

Closes #447

and and or behave like binary operators, but for some reason they don't trigger an on_op call inside Ripper, so we fail to deserialize them because the line numbers are nil. This updates the ruby lib to register the line numbers appropriately for these keywords.

@fables-tales fables-tales merged commit c36655d into trunk Jan 8, 2024
7 checks passed
@reese reese deleted the reese-binary-keywords branch January 8, 2024 15:49
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.

Tree deserialization error with and/or operators
2 participants