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

Use location for #to_s #215

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Use location for #to_s #215

merged 1 commit into from
Nov 10, 2023

Conversation

yui-knk
Copy link
Collaborator

@yui-knk yui-knk commented Nov 10, 2023

Some tokens doesn't have location. #to_s raises NoMethodError for such cases if the method uses line and column.

Some tokens doesn't have `location`. `#to_s` raises NoMethodError
for such cases if the method uses `line` and `column`.
@yui-knk yui-knk merged commit 9dcf253 into ruby:master Nov 10, 2023
14 checks passed
@yui-knk yui-knk deleted the token_to_s branch November 10, 2023 03:58
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