diff options
author | eileencodes <eileencodes@gmail.com> | 2020-09-02 08:56:13 -0400 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2020-09-02 12:44:33 -0700 |
commit | eada6350332155972f19bad52bd8621f607520a2 (patch) | |
tree | b3319fee4018ff028344d2c5c0424883c049ec07 /regparse.c | |
parent | 54fb8fb62a30c7b60ab6443a62821f6f8bc479c4 (diff) | |
download | ruby-eada6350332155972f19bad52bd8621f607520a2.tar.gz |
Add category to `rb_warn_deprecated`
PR https://github.com/ruby/ruby/pull/3418 added a category to
`rb_warn_deprecated_to_remove` but not to `rb_warn_deprecated`. This
adds the same code to `rb_warn_deprecated` so that those warnings also
get a category.
This change also adds tests for `rb_warn_deprecated` and updates the
tests for `rb_warn_deprecated_to_remove` to have clearer names.
I've fixed the call to `rb_method_entry` as we need to be using the
instance method, not singleton.
Feature: https://bugs.ruby-lang.org/issues/17122
Diffstat (limited to 'regparse.c')
0 files changed, 0 insertions, 0 deletions