From: nobu@... Date: 2018-03-31T11:00:11+00:00 Subject: [ruby-core:86412] [Ruby trunk Bug#14589][Rejected] "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 nobu (Nobuyoshi Nakada). Description updated Status changed from Open to Rejected It's not a good idea to hide a failure and continue with a garbage. ---------------------------------------- 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-71346 * Author: Anon92929 (Anon Ymous) * Status: Rejected * 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: