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

ruby-changes:61204

From: Kazuhiro <ko1@a...>
Date: Tue, 12 May 2020 11:48:29 +0900 (JST)
Subject: [ruby-changes:61204] 7cc55f4bc4 (master): Thread#backtrace may return nil [ci skip]

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

From 7cc55f4bc4d836e8edcae05f1b500417fc2b71a3 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Tue, 12 May 2020 11:46:41 +0900
Subject: Thread#backtrace may return nil [ci skip]


diff --git a/thread.c b/thread.c
index cb2bd89..7ecc535 100644
--- a/thread.c
+++ b/thread.c
@@ -5128,7 +5128,7 @@ rb_exec_recursive_paired_outer(VALUE (*func) (VALUE, VALUE, int), VALUE obj, VAL https://github.com/ruby/ruby/blob/trunk/thread.c#L5128
 
 /*
  *  call-seq:
- *     thread.backtrace    -> array
+ *     thread.backtrace    -> array or nil
  *
  *  Returns the current backtrace of the target thread.
  *
-- 
cgit v0.10.2


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

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