Skip to content

Conversation

@tenderlove
Copy link
Member

Comment nodes can know if they are trailing comments by looking at the previous token. If we set this on the comment object then we don't need to look at source slices when attaching comments

@tenderlove tenderlove force-pushed the trailing-comment branch 2 times, most recently from d4362b3 to f1ebb6a Compare December 3, 2025 00:21
Comment nodes can know if they are trailing comments by looking at the
previous token.  If we set this on the comment object then we don't need
to look at source slices when attaching comments
@kddnewton
Copy link
Collaborator

(Closing per our convo)

@kddnewton kddnewton closed this Dec 4, 2025
@tenderlove tenderlove deleted the trailing-comment branch December 12, 2025 22:12
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