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:
parent
182ce60f75
commit
9354b05e5c
1 changed files with 1 additions and 1 deletions
2
proc.c
2
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue