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

ruby-changes:62961

From: Kazuhiro <ko1@a...>
Date: Tue, 15 Sep 2020 14:04:50 +0900 (JST)
Subject: [ruby-changes:62961] f3754dfc2e (master): Fix missing `"` [ci skip]

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

From f3754dfc2eb315046de48bf22b4d5c7a923485ba Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Tue, 15 Sep 2020 14:03:22 +0900
Subject: Fix missing `"` [ci skip]


diff --git a/error.c b/error.c
index 61fa86b..be53e8d 100644
--- a/error.c
+++ b/error.c
@@ -2630,7 +2630,7 @@ exception_loader(VALUE exc, VALUE obj) https://github.com/ruby/ruby/blob/trunk/error.c#L2630
     // In the former case, the first argument is an instance of Exception (because
     // we pass rb_eException to rb_marshal_define_compat). In the latter case, the first
     // argument is a class object (see TYPE_USERDEF case in r_object0).
-    // We want to copy all instance variables (but "bt_locations) from obj to exc.
+    // We want to copy all instance variables (but "bt_locations") from obj to exc.
     // But we do not want to do so in the second case, so the following branch is for that.
     if (RB_TYPE_P(exc, T_CLASS)) return obj; // maybe called from Marshal's TYPE_USERDEF
 
-- 
cgit v0.10.2


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

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