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

ruby-changes:73711

From: John <ko1@a...>
Date: Sat, 24 Sep 2022 07:57:26 +0900 (JST)
Subject: [ruby-changes:73711] a74f4cded2 (master): Remove reference to __classid__

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

From a74f4cded2ba4183b680c14f5c9aa7151afaad58 Mon Sep 17 00:00:00 2001
From: John Hawthorn <john@h...>
Date: Fri, 23 Sep 2022 14:29:25 -0700
Subject: Remove reference to __classid__

This used to be used for module names but its uses were removed in
b00f280d4b9569e7153365d7e1c522b3d6b3c6cf.
---
 class.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/class.c b/class.c
index 5e57068f03..3a83a7f052 100644
--- a/class.c
+++ b/class.c
@@ -423,8 +423,6 @@ copy_tables(VALUE clone, VALUE orig) https://github.com/ruby/ruby/blob/trunk/class.c#L423
         st_delete(RCLASS_IV_TBL(clone), &id, 0);
         CONST_ID(id, "__classpath__");
         st_delete(RCLASS_IV_TBL(clone), &id, 0);
-        CONST_ID(id, "__classid__");
-        st_delete(RCLASS_IV_TBL(clone), &id, 0);
     }
     if (RCLASS_CONST_TBL(orig)) {
         struct clone_const_arg arg;
-- 
cgit v1.2.1


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

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