[ruby-cvs:49924] ko1:r42782 (trunk): * vm_insnhelper.c (vm_search_super_method): use ci->argc instead of
ko1 at ruby-lang.org
ko1 at ruby-lang.org
Tue Sep 3 03:21:15 JST 2013
ko1 2013-09-03 03:21:13 +0900 (Tue, 03 Sep 2013)
New Revision: 42782
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42782
Log:
* vm_insnhelper.c (vm_search_super_method): use ci->argc instead of
ci->orig_argc. ci->argc can be changed by splat arguments.
[ruby-list:49575]
This fix should be applied to Ruby 2.0.0 seriese.
* test/ruby/test_super.rb: add a test for above.
Modified files:
trunk/ChangeLog
trunk/test/ruby/test_super.rb
trunk/vm_insnhelper.c
More information about the ruby-cvs
mailing list