- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.5k
Revert nil error and adding deprecation message #2637
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Thank you so much for working on it @kachick
| /backref/ =~ 'backref' | ||
| # must match here, but not in a separate method, e.g., assert_send, | ||
| # to check if $~ is affected or not. | ||
| assert_equal(false, //.match?(nil)) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we assert the warning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already checked in specs above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
… an error:Update re.c ruby#2637 (comment) Co-Authored-By: Eugene Kenny <elkenny@gmail.com>
bb7f955    to
    d20d9ce      
    Compare
  
    | Merged and NEWS entry updated in fbacfe6, thanks! | 
| Thank you! | 
ticket: https://bugs.ruby-lang.org/issues/13083
This revert #1506 and warns for now.
@rafaelfranca How about this?