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

ruby-changes:64440

From: Marc-Andre <ko1@a...>
Date: Tue, 22 Dec 2020 11:07:32 +0900 (JST)
Subject: [ruby-changes:64440] d0050edb84 (master): Update Fiber#backtrace doc [See bug #17408]

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

From d0050edb84e9c3ba99946e08325e168deb741e28 Mon Sep 17 00:00:00 2001
From: Marc-Andre Lafortune <github@m...>
Date: Mon, 21 Dec 2020 21:07:13 -0500
Subject: Update Fiber#backtrace doc [See bug #17408]


diff --git a/cont.c b/cont.c
index 129aad9..123ca33 100644
--- a/cont.c
+++ b/cont.c
@@ -2410,9 +2410,9 @@ rb_fiber_raise(int argc, VALUE *argv, VALUE fiber_value) https://github.com/ruby/ruby/blob/trunk/cont.c#L2410
  *
  *     f.resume
  *
- *     # It is empty after the fiber is finished
+ *     # It is nil after the fiber is finished
  *     f.backtrace
- *     #=> []
+ *     #=> nil
  *
  */
 static VALUE
-- 
cgit v0.10.2


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

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