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 syntax error for underscore started method with ! or ? #304

Merged

Conversation

pocke
Copy link
Member

@pocke pocke commented Jun 14, 2020

Curretnly _foo? method name is syntax error, but it is correct method name in Ruby.
So this pull request fixes the syntax error.

And I also found other syntax errors for keyword method name, like def in?: -> untyped. So this pull request also fixes them.

@soutaro soutaro merged commit 00872ed into ruby:master Jun 14, 2020
@pocke pocke deleted the fix-syntax-error-for-underscore-and-bang-or-q branch June 14, 2020 15:11
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