Skip to content

Handle "[]" and "[]=" after "." as method #466

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

Merged
merged 2 commits into from
Aug 1, 2017

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Jul 23, 2017

[] after . is handled as operator. But, [] inside Array.[] is method because it is after .. This Pull Request fixes it.

@hsbt
Copy link
Member

hsbt commented Aug 1, 2017

I confirmed expected the behavior of tests.

@hsbt hsbt merged commit cd63f48 into ruby:master Aug 1, 2017
@aycabta aycabta deleted the handle-square-bracket-after-dot-as-method branch August 1, 2017 11:49
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