diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2024-08-07 10:48:48 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-08-08 15:50:26 +0900 |
| commit | 7594a292b19cb3bde971da294930f6bb2b4e4bc1 (patch) | |
| tree | 46b33327a7a0aeb9e893ae7693e87116df590e3e /test/ruby | |
| parent | fa443699afe888d1b0d1f586e97700527a23e5fa (diff) | |
lib/bundled_gems.rb: more reliable caller detection
The `2` skipped frames went out of sync and now it should be `3`.
Rather than just update the offset, we can implement a way that
is adaptative as long as all require decorators are also called require.
Also we should compute the corresponding `uplevel` otherwise the
warning will still point decorators.
Co-authored-by: "Hiroshi SHIBATA" <hsbt@ruby-lang.org>
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
