core/ractor.rbs in rbs-3.2.2 vs core/ractor.rbs in rbs-3.3.0.pre.1
- old
+ new
@@ -597,18 +597,18 @@
# rdoc-file=ractor.rb
# - [](sym)
# -->
# get a value from ractor-local storage
#
- def []: (Symbol | String sym) -> untyped
+ def []: (interned sym) -> untyped
# <!--
# rdoc-file=ractor.rb
# - []=(sym, val)
# -->
# set a value in ractor-local storage
#
- def []=: [T] (Symbol | String sym, T val) -> T
+ def []=: [T] (interned sym, T val) -> T
# <!--
# rdoc-file=ractor.rb
# - ractor.close_incoming -> true | false
# -->