[前][次][番号順一覧][スレッド一覧]

ruby-changes:68192

From: Jeremy <ko1@a...>
Date: Sat, 2 Oct 2021 02:13:01 +0900 (JST)
Subject: [ruby-changes:68192] e8d6076fbd (master): Fix typo in static function name

https://git.ruby-lang.org/ruby.git/commit/?id=e8d6076fbd

From e8d6076fbd0dd537cce38eaf9417cafb03b4fd92 Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@j...>
Date: Thu, 30 Sep 2021 12:36:00 -0700
Subject: Fix typo in static function name

---
 vm_method.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vm_method.c b/vm_method.c
index 1fd0bd57f7..842c19c12b 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1236,7 +1236,7 @@ callable_method_entry_refeinements0(VALUE klass, ID id, VALUE *defined_class_ptr https://github.com/ruby/ruby/blob/trunk/vm_method.c#L1236
 }
 
 static const rb_callable_method_entry_t *
-callable_method_entry_refeinements(VALUE klass, ID id, VALUE *defined_class_ptr, bool with_refinements)
+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);
@@ -1245,13 +1245,13 @@ callable_method_entry_refeinements(VALUE klass, ID id, VALUE *defined_class_ptr, https://github.com/ruby/ruby/blob/trunk/vm_method.c#L1245
 MJIT_FUNC_EXPORTED const rb_callable_method_entry_t *
 rb_callable_method_entry_with_refinements(VALUE klass, ID id, VALUE *defined_class_ptr)
 {
-    return callable_method_entry_refeinements(klass, id, defined_class_ptr, true);
+    return callable_method_entry_refinements(klass, id, defined_class_ptr, true);
 }
 
 static const rb_callable_method_entry_t *
 callable_method_entry_without_refinements(VALUE klass, ID id, VALUE *defined_class_ptr)
 {
-    return callable_method_entry_refeinements(klass, id, defined_class_ptr, false);
+    return callable_method_entry_refinements(klass, id, defined_class_ptr, false);
 }
 
 const rb_method_entry_t *
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]