[ruby-cvs:70000] nagachika:r62868 (ruby_2_4): merge revision(s) 61603: [Backport #14279]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Wed Mar 21 03:07:27 JST 2018


nagachika	2018-03-21 03:07:27 +0900 (Wed, 21 Mar 2018)

  New Revision: 62868

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

  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_4/
  Modified files:
    branches/ruby_2_4/compile.c
    branches/ruby_2_4/test/ruby/test_super.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list