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

ruby-changes:62272

From: Nobuyoshi <ko1@a...>
Date: Sun, 19 Jul 2020 23:13:58 +0900 (JST)
Subject: [ruby-changes:62272] d637208abd (master): Fixed a typo

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

From d637208abd0ae7ccf0539679ca52df1caada4db7 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 19 Jul 2020 23:13:21 +0900
Subject: Fixed a typo


diff --git a/vm_method.c b/vm_method.c
index d8d1552..2b51605 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -130,7 +130,7 @@ rb_clear_constant_cache(void) https://github.com/ruby/ruby/blob/trunk/vm_method.c#L130
 
 static rb_method_entry_t *rb_method_entry_alloc(ID called_id, VALUE owner, VALUE defined_class, const rb_method_definition_t *def);
 const rb_method_entry_t * rb_method_entry_clone(const rb_method_entry_t *src_me);
-static const rb_callable_method_entry_t *copmplemented_callable_method_entry(VALUE klass, ID id);
+static const rb_callable_method_entry_t *complemented_callable_method_entry(VALUE klass, ID id);
 
 static void
 clear_method_cache_by_id_in_class(VALUE klass, ID mid)
@@ -160,7 +160,7 @@ clear_method_cache_by_id_in_class(VALUE klass, ID mid) https://github.com/ruby/ruby/blob/trunk/vm_method.c#L160
         RB_DEBUG_COUNTER_INC(cc_invalidate_leaf);
     }
     else {
-        const rb_callable_method_entry_t *cme = copmplemented_callable_method_entry(klass, mid);
+        const rb_callable_method_entry_t *cme = complemented_callable_method_entry(klass, mid);
 
         if (cme) {
             // invalidate cme if found to invalidate the inline method cache.
@@ -991,7 +991,7 @@ prepare_callable_method_entry(VALUE defined_class, ID id, const rb_method_entry_ https://github.com/ruby/ruby/blob/trunk/vm_method.c#L991
 }
 
 static const rb_callable_method_entry_t *
-copmplemented_callable_method_entry(VALUE klass, ID id)
+complemented_callable_method_entry(VALUE klass, ID id)
 {
     VALUE defined_class;
     rb_method_entry_t *me = search_method_protect(klass, id, &defined_class);
-- 
cgit v0.10.2


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

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