diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-11-24 08:48:19 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-12-10 07:05:06 +0000 |
| commit | 14ff851185bb8ff399e98b74cc107302a4e08e18 (patch) | |
| tree | f81f5b8cad2890f79921085adec50fb8e07dd5ab /test/ruby | |
| parent | 375025a3864fc944dc9f42909a6c5386c749d5fd (diff) | |
[ruby/forwardable] Simpler and faster check for the delegation fastpath
Fix: https://github.com/ruby/forwardable/issues/35
[Bug #21708]
Trying to compile code to check if a method can use the delegation
fastpath is a bit wasteful and cause `RUPYOPT=-d` to be full of
misleading errors.
It's simpler and faster to use a simple regexp to do the same check.
https://github.com/ruby/forwardable/commit/de1fbd182e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
