From bc628bda5a4911acd9b6117acfd9d53bf77e7684 Mon Sep 17 00:00:00 2001 From: SamW Date: Fri, 19 Jul 2024 22:21:40 -0700 Subject: [PATCH] untyped versions for Symbol updated --- core/symbol.rbs | 8 +++----- test/stdlib/Symbol_test.rb | 18 ++++++------------ 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/core/symbol.rbs b/core/symbol.rbs index fafd9c578..d283858cd 100644 --- a/core/symbol.rbs +++ b/core/symbol.rbs @@ -151,7 +151,7 @@ class Symbol # Related: String#<=>. # def <=>: (Symbol object) -> (-1 | 0 | 1) - | (untyped) -> nil + | (untyped) -> (-1 | 0 | 1)? #