[ruby-cvs:70962] nobu:r63871 (trunk): const_missing on private constants

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jul 6 22:56:58 JST 2018


nobu	2018-07-06 22:56:58 +0900 (Fri, 06 Jul 2018)

  New Revision: 63871

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63871

  Log:
    const_missing on private constants
    
    * variable.c (rb_const_search): call #const_missing method on
      private constants, as well as uninitialized constants.
      [Feature #14328]

  Modified files:
    trunk/spec/ruby/language/constants_spec.rb
    trunk/test/ruby/test_module.rb
    trunk/variable.c
    trunk/vm.c
    trunk/vm_core.h


More information about the ruby-cvs mailing list