summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-09-19 19:34:50 -0400
committerPeter Zhu <[email protected]>2023-09-19 19:34:50 -0400
commit38e98cbb6a29f984795504fbc64872526edd1197 ()
tree4af170ccf1cdabbd9049678c28462ed42564d7d6 /vm_method.c
parent4c1e367039d1a35f7eed8d2d80ce7eff2d69fcec (diff)
Fix typo in "refinements"
-rw-r--r--vm_method.c4
1 files changed, 2 insertions, 2 deletions
@@ -1445,7 +1445,7 @@ rb_method_entry_with_refinements(VALUE klass, ID id, VALUE *defined_class_ptr)
}
static const rb_callable_method_entry_t *
-callable_method_entry_refeinements0(VALUE klass, ID id, VALUE *defined_class_ptr, bool with_refinements,
const rb_callable_method_entry_t *cme)
{
if (cme == NULL || LIKELY(cme->def->type != VM_METHOD_TYPE_REFINED)) {
@@ -1462,7 +1462,7 @@ static const rb_callable_method_entry_t *
callable_method_entry_refinements(VALUE klass, ID id, VALUE *defined_class_ptr, bool with_refinements)
{
const rb_callable_method_entry_t *cme = callable_method_entry(klass, id, defined_class_ptr);
- return callable_method_entry_refeinements0(klass, id, defined_class_ptr, with_refinements, cme);
}
const rb_callable_method_entry_t *