[前][次][番号順一覧][スレッド一覧]

ruby-changes:27571

From: nobu <ko1@a...>
Date: Thu, 7 Mar 2013 13:38:55 +0900 (JST)
Subject: [ruby-changes:27571] nobu:r39623 (trunk): iseq.c: keyword arguments

nobu	2013-03-07 13:38:45 +0900 (Thu, 07 Mar 2013)

  New Revision: 39623

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39623

  Log:
    iseq.c: keyword arguments
    
    * iseq.c (rb_iseq_disasm): fix keyword arguments index.

  Modified files:
    trunk/iseq.c

Index: iseq.c
===================================================================
--- iseq.c	(revision 39622)
+++ iseq.c	(revision 39623)
@@ -1395,7 +1395,7 @@ rb_iseq_disasm(VALUE self) https://github.com/ruby/ruby/blob/trunk/iseq.c#L1395
 		    iseqdat->local_size, iseqdat->argc,
 		    iseqdat->arg_opts, iseqdat->arg_rest,
 		    iseqdat->arg_post_len, iseqdat->arg_block,
-		    iseqdat->arg_keywords, iseqdat->arg_keyword,
+		    iseqdat->arg_keywords, iseqdat->local_size-iseqdat->arg_keyword,
 		    iseqdat->arg_simple);
 
 	for (i = 0; i < iseqdat->local_table_size; i++) {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]