File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -421,6 +421,7 @@ class Ractor
421421 # set a value in ractor-local storage for current Ractor Obsolete and use
422422 # Ractor.[]= instead.
423423 #
424+ %a{deprecated: Use Ractor.[]= instead}
424425 def []= : [T] (interned sym, T val) -> T
425426
426427 # <!--
Original file line number Diff line number Diff line change @@ -93,16 +93,6 @@ class RactorInstanceTest < Test::Unit::TestCase
9393
9494 testing "::Ractor"
9595
96- def test_aset
97- omit "Accessing ractor local storage" if RUBY_VERSION >= "3.5"
98-
99- r = Ractor . new { }
100- assert_send_type "(String, String) -> String" ,
101- r , :[]= , 'foo' , 'bar'
102- assert_send_type "(Symbol, Integer) -> Integer" ,
103- r , :[]= , :foo , 42
104- end
105-
10696 def test_close_incoming
10797 omit "Ractor#close_incoming is not implemented" if RUBY_VERSION >= "3.5"
10898
You can’t perform that action at this time.
0 commit comments