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

ruby-changes:56243

From: Nobuyoshi <ko1@a...>
Date: Fri, 28 Jun 2019 12:33:46 +0900 (JST)
Subject: [ruby-changes:56243] Nobuyoshi Nakada: 3120252f01 (trunk): Suppress void context warning in verbose mode

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

From 3120252f010b979b633f0757ea7e145ccdc224fd Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 28 Jun 2019 12:33:24 +0900
Subject: Suppress void context warning in verbose mode


diff --git a/test/ruby/test_autoload.rb b/test/ruby/test_autoload.rb
index 0428e10..3b013c1 100644
--- a/test/ruby/test_autoload.rb
+++ b/test/ruby/test_autoload.rb
@@ -304,7 +304,7 @@ p Foo::Bar https://github.com/ruby/ruby/blob/trunk/test/ruby/test_autoload.rb#L304
         begin
           thrs = []
           3.times do
-            thrs << Thread.new { AutoloadTest; nil }
+            thrs << Thread.new { AutoloadTest && nil }
             thrs << Thread.new { fork { AutoloadTest } }
           end
           thrs.each(&:join)
-- 
cgit v0.10.2


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

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