Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions core/kernel.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -1751,11 +1751,6 @@ module Kernel : BasicObject
def self?.sleep: (?nil) -> bot
| (Time::_Timeout duration) -> Integer

%a{deprecated}
interface _Divmod
def divmod: (Numeric) -> [ Numeric, Numeric ]
end

# <!--
# rdoc-file=io.c
# - syscall(integer_callno, *arguments) -> integer
Expand Down
4 changes: 0 additions & 4 deletions core/module.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -1839,8 +1839,4 @@ class Module < Object
#
def attr: %a{deprecated} (interned, bool) -> Array[Symbol]
| (*interned arg0) -> Array[Symbol]

# A previous incarnation of `interned` for backward-compatibility (see #1499)
%a{deprecated: Use `interned`}
type id = interned
end
4 changes: 0 additions & 4 deletions core/object.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,3 @@
class Object < BasicObject
include Kernel
end

# A previous incarnation of `interned` for backward-compatibility (see #1499)
%a{deprecated: Use `interned` instead}
type Object::name = interned
19 changes: 0 additions & 19 deletions core/string.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -5530,22 +5530,3 @@ class String
#
def valid_encoding?: () -> bool
end

%a{deprecated}
interface _ArefFromStringToString
def []: (String) -> String
end

%a{deprecated}
type String::encode_fallback = Hash[String, String] | Proc | Method | String::_ArefFromStringToString

# Don't use this interface directly
#
# This is a copy of `::_ArefFromStringToString` but without deprecated attribute.
# This is a workaround to avoid deprecation warnings in `String::encode_fallback` type.
#
# This type will be deprecated soon once `::_ArefFromStringToString` and `String::encode_fallback` are removed.
#
interface String::_ArefFromStringToString
def []: (String) -> String
end