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

+ ruby30.y: reject endless setter. #736

Merged
merged 1 commit into from Sep 2, 2020

Conversation

@iliabylich
Copy link
Collaborator

@iliabylich iliabylich commented Sep 2, 2020

This commit tracks upstream commit ruby/ruby@53ba9fb.

Closes #730

What's interesting, the following syntax is still allowed:

def foo=() = 42 rescue nil
def self.foo=() = 42

def self.foo=() = 42 rescue nil
This commit tracks upstream commit ruby/ruby@53ba9fb.
@iliabylich iliabylich merged commit cd1bfe0 into whitequark:master Sep 2, 2020
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@iliabylich iliabylich deleted the iliabylich:reject-endless-setter branch Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant
You can’t perform that action at this time.