diff options
author | Jeremy Evans <code@jeremyevans.net> | 2022-12-20 12:44:11 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2022-12-22 11:50:26 -0800 |
commit | 7e8fa06022a9e412e3f8e6c8b6f0ba1909f648d5 (patch) | |
tree | d677df86e4df121b3b005fa7d91c1a084e7734fc /yjit.rb | |
parent | 9dcee2d80ee995e11b0fd437d4a94930ccb6db67 (diff) | |
download | ruby-7e8fa06022a9e412e3f8e6c8b6f0ba1909f648d5.tar.gz |
Always issue deprecation warning when calling Regexp.new with 3rd positional argument
Previously, only certain values of the 3rd argument triggered a
deprecation warning.
First step for fix for bug #18797. Support for the 3rd argument
will be removed after the release of Ruby 3.2.
Fix minor fallout discovered by the tests.
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Diffstat (limited to 'yjit.rb')
0 files changed, 0 insertions, 0 deletions