[ruby-cvs:69601] naruse:r62420 (ruby_2_5): merge revision(s) 61603: [Backport #14279]

naruse at ruby-lang.org naruse at ruby-lang.org
Fri Feb 16 16:32:11 JST 2018


naruse	2018-02-16 16:32:11 +0900 (Fri, 16 Feb 2018)

  New Revision: 62420

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

  Log:
    merge revision(s) 61603: [Backport #14279]
    
    check array for zsuper. [Bug #14279]
    
    * compile.c (iseq_compile_each0): for zsuper (NODE_ZSUPER), we need to check
      given argument is Array or not.
    
    * test/ruby/test_super.rb: add a test for this bug.

  Modified directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/compile.c
    branches/ruby_2_5/test/ruby/test_super.rb
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list