ruby-changes:40633
From: nobu <ko1@a...>
Date: Sun, 22 Nov 2015 17:22:17 +0900 (JST)
Subject: [ruby-changes:40633] nobu:r52712 (trunk): compile.c: fix position
nobu 2015-11-22 17:22:05 +0900 (Sun, 22 Nov 2015) New Revision: 52712 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52712 Log: compile.c: fix position * compile.c (iseq_compile_each): vals is NULL here, show the position of the parent node. Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 52711) +++ compile.c (revision 52712) @@ -3713,7 +3713,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ https://github.com/ruby/ruby/blob/trunk/compile.c#L3713 } } else { - rb_compile_bug(ERROR_ARGS_AT(vals) "NODE_CASE: must be NODE_ARRAY, but 0"); + rb_compile_bug(ERROR_ARGS "NODE_CASE: must be NODE_ARRAY, but 0"); } node = node->nd_next; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/