summaryrefslogtreecommitdiff
path: root/include/ruby/internal/static_assert.h
diff options
context:
space:
mode:
authorU.Nakamura <usa@ruby-lang.org>2023-11-06 20:22:27 +0900
committerU.Nakamura <usa@ruby-lang.org>2023-11-06 20:22:27 +0900
commit881088e06f092d20a361c9528b2927cdc2b1616c (patch)
tree3e155b6a05ea2684c1fc5b2d67cdf54e313709c5 /include/ruby/internal/static_assert.h
parent4f7b595815bd75706c276b03c8d445748e869f2e (diff)
merge revision(s) 4329554f171fdb483cafa672df5f2a08741940c5: [Backport #19985]
[Bug #19985] Raise LoadError with the converted feature name `Kernel#require` converts feature name objects that have the `to_path` method such as `Pathname`, but had used the original object on error and had resulted in an unexpected `TypeError`. --- load.c | 14 +++++++++++--- test/ruby/test_require.rb | 26 +++++++++++++++++++++----- 2 files changed, 32 insertions(+), 8 deletions(-)
Diffstat (limited to 'include/ruby/internal/static_assert.h')
0 files changed, 0 insertions, 0 deletions