Actions
Bug #11772
closedImplicit conversion of Array in String interpolation does not call to_str
Bug #11772:
Implicit conversion of Array in String interpolation does not call to_str
Description
While providing an example in https://bugs.ruby-lang.org/issues/10930#note-7 I found that the implicit changing of an Array calls to_s without trying to_str first. Isn't String interpolation "implicitly" converting items to strings?
I believe String interpolation should call to_str before to_s
Actions