From a05ef8460a0687eb8e2b08722963aac1e0fdad48 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 22 Nov 2015 08:22:05 +0000 Subject: compile.c: fix position * compile.c (iseq_compile_each): vals is NULL here, show the position of the parent node. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.c b/compile.c index 771361dd56..445b9d5a59 100644 --- a/compile.c +++ b/compile.c @@ -3713,7 +3713,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) } } 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; -- cgit v1.2.3