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

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
@iliabylich iliabylich deleted the reject-endless-setter branch September 2, 2020 15:29
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.

ruby/ruby@53ba9fb
1 participant