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

ruby-changes:72093

From: Nobuyoshi <ko1@a...>
Date: Wed, 8 Jun 2022 12:01:03 +0900 (JST)
Subject: [ruby-changes:72093] ccfbcc7302 (master): [DOC] RDoc now accepts other than magic numbers at `rb_attr`

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

From ccfbcc730230fddeab6d7f8820c9d232117a07fd Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 8 Jun 2022 11:55:21 +0900
Subject: [DOC] RDoc now accepts other than magic numbers at `rb_attr`

---
 error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/error.c b/error.c
index 3f5c05d681..c420aaca3c 100644
--- a/error.c
+++ b/error.c
@@ -2990,7 +2990,7 @@ Init_Exception(void) https://github.com/ruby/ruby/blob/trunk/error.c#L2990
 
     rb_eLoadError   = rb_define_class("LoadError", rb_eScriptError);
     /* the path failed to load */
-    rb_attr(rb_eLoadError, rb_intern_const("path"), 1, 0, Qfalse);
+    rb_attr(rb_eLoadError, rb_intern_const("path"), TRUE, FALSE, FALSE);
 
     rb_eNotImpError = rb_define_class("NotImplementedError", rb_eScriptError);
 
-- 
cgit v1.2.1


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

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