Skip to content

Conversation

@Earlopain
Copy link
Collaborator

@Earlopain Earlopain commented Jan 12, 2025

In #3393 I made a mistake. When there is no previous token, it wraps around to -1. Oops.

Additionally, if a comment has no newline then the offset should be kept as is.

In ruby#3393 I made a mistake.
When there is no previous token, it wraps around to -1. Oops

Additionally, if a comment has no newline then the offset should be kept as is
@Earlopain Earlopain force-pushed the parser-translator-comment-followup branch from 4d0851c to 3c266f1 Compare January 12, 2025 14:11
@kddnewton kddnewton merged commit e8f2592 into ruby:main Jan 12, 2025
56 of 57 checks passed
@Earlopain Earlopain deleted the parser-translator-comment-followup branch January 12, 2025 19:56
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