1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2012-12-12 07:06:14 +00:00
parent 182ce60f75
commit 9354b05e5c

2
proc.c
View file

@ -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);