From b342234a1ab4e72c1b5eaf92b09361a78a607509 Mon Sep 17 00:00:00 2001 From: ksss Date: Mon, 28 Sep 2026 18:15:29 +0900 Subject: [PATCH] Always return `nil` --- core/thread.rbs | 2 +- test/stdlib/Thread_test.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/thread.rbs b/core/thread.rbs index 1410f47e4..59b2c6957 100644 --- a/core/thread.rbs +++ b/core/thread.rbs @@ -1015,7 +1015,7 @@ class Thread < Object # Give the thread scheduler a hint to pass execution to another thread. A # running thread may or may not switch, it depends on OS and processor. # - def self.pass: () -> untyped + def self.pass: () -> nil #