1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool/ruby_vm
Dylan Thacker-Smith ac112f2b5d Avoid top-level search for nested constant reference from nil in defined?
Fixes [Bug #16332]

Constant access was changed to no longer allow top-level constant access
through `nil`, but `defined?` wasn't changed at the same time to stay
consistent.

Use a separate defined type to distinguish between a constant
referenced from the current lexical scope and one referenced from
another namespace.
2019-11-13 15:36:58 +09:00
..
controllers delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
helpers vm.inc now in C99 2019-01-25 14:09:10 +00:00
loaders extend rb_call_cache 2019-11-07 17:41:30 +09:00
models support builtin features with Ruby and C. 2019-11-08 09:09:29 +09:00
scripts delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
tests
views Avoid top-level search for nested constant reference from nil in defined? 2019-11-13 15:36:58 +09:00