[ruby-cvs:70787] nobu:r63696 (trunk): variable.c: fix receiver on private constant

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Jun 19 17:15:52 JST 2018


nobu	2018-06-19 17:15:52 +0900 (Tue, 19 Jun 2018)

  New Revision: 63696

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

  Log:
    variable.c: fix receiver on private constant
    
    * variable.c (rb_const_search): fix NameError :receiver attribute
      on private constant, should raise with the included module, not
      the ICLASS.

  Modified files:
    trunk/test/ruby/test_module.rb
    trunk/variable.c


More information about the ruby-cvs mailing list