From 9354b05e5cd4ee0fb0a6ed823145657eb4e68d55 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 12 Dec 2012 07:06:14 +0000 Subject: [PATCH] proc.c: move misplaced case * proc.c (rb_method_entry_arity): move misplaced case added at r38236. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc.c b/proc.c index b66c6c6e94..a112677e69 100644 --- a/proc.c +++ b/proc.c @@ -1683,9 +1683,9 @@ rb_method_entry_arity(const rb_method_entry_t *me) default: break; } + } case VM_METHOD_TYPE_REFINED: return -1; - } } rb_bug("rb_method_entry_arity: invalid method entry type (%d)", def->type);