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

Fix warning in Lexer::Elem#[] #313

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

osyo-manga
Copy link
Contributor

Changed to use #pos #event #tok #state since using Lexer::Elem#[0~4] now gives a warning.
see: ruby/ruby@8944009

Changed to use `#pos` `#event` `#tok` `#state` since using Lexer::Elem#[0~4] now gives a warning.
see: ruby/ruby@8944009
@osyo-manga osyo-manga marked this pull request as ready for review December 6, 2021 01:07
@yahonda
Copy link

yahonda commented Dec 6, 2021

Just FYI, There is a pull request not to show warnings ruby/ruby#5219

@aycabta aycabta merged commit c72f473 into ruby:master Dec 20, 2021
@aycabta
Copy link
Member

aycabta commented Dec 20, 2021

I think this is still great for readability. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants