From: hanmac@... Date: 2018-03-08T09:00:19+00:00 Subject: [ruby-core:86037] [Ruby trunk Bug#14589] "No implicit conversion of XXX to string" asserion should be handled with an explicit string conversion, and it should be a warning not an assertion Issue #14589 has been updated by Hanmac (Hans Mackowiak). learn the difference between `to_s` and `to_str` one is explicit, the other is implicit ---------------------------------------- Bug #14589: "No implicit conversion of XXX to string" asserion should be handled with an explicit string conversion, and it should be a warning not an assertion https://bugs.ruby-lang.org/issues/14589#change-70898 * Author: Anon92929 (Anon Ymous) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- Too many people's time have been wasted trying to make sure their puts/prints statements don't assert because of failed implicit string conversions. This should be handled by an explicit .to_s attempt, and a warning instead of a break. -- https://bugs.ruby-lang.org/ Unsubscribe: