Project

General

Profile

« Previous | Next » 

Revision 44936575

Added by ko1 (Koichi Sasada) over 6 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e