File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -3580,4 +3580,15 @@ interface _ArefFromStringToString
35803580end
35813581
35823582%a{deprecated}
3583- type String::encode_fallback = Hash[String, String] | Proc | Method | _ArefFromStringToString
3583+ type String::encode_fallback = Hash[String, String] | Proc | Method | String::_ArefFromStringToString
3584+
3585+ # Don't use this interface directly
3586+ #
3587+ # This is a copy of `::_ArefFromStringToString` but without deprecated attribute.
3588+ # This is a workaround to avoid deprecation warnings in `String::encode_fallback` type.
3589+ #
3590+ # This type will be deprecated soon once `::_ArefFromStringToString` and `String::encode_fallback` are removed.
3591+ #
3592+ interface String::_ArefFromStringToString
3593+ def [] : (String) -> String
3594+ end
You can’t perform that action at this time.
0 commit comments