[ruby-cvs:69745] naruse:r62568 (ruby_2_5): merge revision(s) 62071: [Backport #14407]

naruse at ruby-lang.org naruse at ruby-lang.org
Sun Feb 25 09:36:43 JST 2018


naruse	2018-02-25 09:36:43 +0900 (Sun, 25 Feb 2018)

  New Revision: 62568

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

  Log:
    merge revision(s) 62071: [Backport #14407]
    
    defined? returns nil for toplevel constant lookup
    
    * variable.c (rb_const_defined_0): toplevel constant lookup has
      been removed, should return nil too.
      [ruby-core:85142] [Bug #14407] [Fix GH-1800]
    
    From: Gonzalo <grzuy0 at gmail.com>

  Modified directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/spec/ruby/language/defined_spec.rb
    branches/ruby_2_5/test/ruby/test_defined.rb
    branches/ruby_2_5/variable.c
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list