diff options
| author | Postmodern <postmodern.mod3@gmail.com> | 2022-01-21 06:59:13 -0800 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2022-01-24 07:00:34 +0900 |
| commit | c155445752bdf51f048284519587f73443f2f227 (patch) | |
| tree | c4f48cf3aa64343cb54e0f9b1c27e5f17a91183c /spec/ruby/core | |
| parent | bb955096d86939a4b7f0d819590afb0ec588f3bd (diff) | |
[ruby/reline] Ignore global constants when checking if Fiddle::VERSION exists
If a top-level `VERSION` constant exists, or if a module containing a `VERSION` constant is included into the top-level scope, then `Fiddle.const_defined?(:VERSION)` will erroneously return true when `RUBY_VERSION < 3.0.0`.
https://github.com/ruby/reline/commit/8529c8e47a
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
