summaryrefslogtreecommitdiff
path: root/include/ruby/internal/intern/variable.h
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2023-11-29 14:39:26 -0800
committerJemma Issroff <jemmaissroff@gmail.com>2023-11-30 09:48:14 -0500
commit630c97acc74701724b3a1beb3f92aae192c69769 (patch)
tree7c071a12ca06839cfb6d0fe6995f47d000b28086 /include/ruby/internal/intern/variable.h
parent2c64041ed5de8cb040fbc62e126055e553bcf5db (diff)
Add a rescue for `defined?(A::B::C)`
It's possible for `defined?(A::B::C)` to raise an exception. `defined?` must swallow the exception and return nil, so this commit adds a rescue entry for `defined?` expressions on constant paths
Diffstat (limited to 'include/ruby/internal/intern/variable.h')
0 files changed, 0 insertions, 0 deletions