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
2
proc.c
2
proc.c
@ -1683,10 +1683,10 @@ rb_method_entry_arity(const rb_method_entry_t *me)
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
case VM_METHOD_TYPE_REFINED:
|
case VM_METHOD_TYPE_REFINED:
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
rb_bug("rb_method_entry_arity: invalid method entry type (%d)", def->type);
|
rb_bug("rb_method_entry_arity: invalid method entry type (%d)", def->type);
|
||||||
|
|
||||||
UNREACHABLE;
|
UNREACHABLE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user