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

added [] and []= operators to the list of potential methods #444

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

HoneyryderChuck
Copy link
Contributor

This fixes:

syntax error, unexpected '(', expecting ';' or '\\n' (SyntaxError)
def []__with__RBS_TEST_7414c4(*args)
                             ^

when having an annotation for a def [] of rdef[]= methods.

Copy link
Member

@soutaro soutaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! 👏

@soutaro soutaro merged commit 6140903 into ruby:master Oct 28, 2020
@HoneyryderChuck HoneyryderChuck deleted the fix-hook-methods branch October 28, 2020 10:24
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.

2 participants