[ruby-cvs:68784] ko1:r61603 (trunk): check array for zsuper. [Bug #14279]

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Jan 5 11:25:26 JST 2018


ko1	2018-01-05 11:25:26 +0900 (Fri, 05 Jan 2018)

  New Revision: 61603

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

  Log:
    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 files:
    trunk/compile.c
    trunk/test/ruby/test_super.rb


More information about the ruby-cvs mailing list