Use opt_{aref,aset} over opt_{aref,aset}_with
opt_aref
opt_aset
opt_aref_with
opt_aset_with
[Fix GH-1957]
From: chopraanmol1 chopraanmol1@gmail.com
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Use opt_{aref,aset} over opt_{aref,aset}_with
opt_aref/opt_asetoveropt_aref_with/opt_aset_withwhen frozen_string_literal: true,not to resurrect the index string on non-Hash receiver.
[Fix GH-1957]
From: chopraanmol1 chopraanmol1@gmail.com
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e