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: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>