From 95cc8b8ac7e51dae636b03137dd776189bbeabae Mon Sep 17 00:00:00 2001 From: ksss Date: Wed, 27 Sep 2023 13:54:25 +0900 Subject: [PATCH] Support pattern in case of 2 arguments --- core/kernel.rbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/kernel.rbs b/core/kernel.rbs index 3fa828041a..6de15e90f8 100644 --- a/core/kernel.rbs +++ b/core/kernel.rbs @@ -1269,7 +1269,7 @@ module Kernel : BasicObject # pp returns argument(s). # def self?.pp: [T] (T arg0) -> T - | (untyped, untyped, *untyped) -> Array[untyped] + | (untyped, *untyped) -> Array[untyped] | () -> nil #