Skip to content

Fix Comment#trailing for syntax invalid edgecase - #4218

Open
Earlopain wants to merge 1 commit into
ruby:mainfrom
Earlopain:comment-trailing-invalid
Open

Fix Comment#trailing for syntax invalid edgecase#4218
Earlopain wants to merge 1 commit into
ruby:mainfrom
Earlopain:comment-trailing-invalid

Conversation

@Earlopain

Copy link
Copy Markdown
Collaborator

When prism encounter invalid bytes and still switches over to parsing comments, strip will raise

syntax_suggest might run into this via ruby/spec: ruby/syntax_suggest#258

When prism encounter invalid bytes and still  switches over to parsing comments,
`strip` will raise

`syntax_suggest` might run into this via `ruby/spec`
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.

1 participant