From: v.ondruch@... Date: 2018-03-26T20:28:51+00:00 Subject: [ruby-core:86311] [Ruby trunk Bug#14617] rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError) Issue #14617 has been updated by vo.x (Vit Ondruch). Thx. I hope this gets backported into next stable update. ---------------------------------------- Bug #14617: rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError) https://bugs.ruby-lang.org/issues/14617#change-71231 * Author: vo.x (Vit Ondruch) * Status: Closed * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) * Target version: * ruby -v: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: REQUIRED ---------------------------------------- RDoc might fail when comment is inside code, such as: ~~~ruby def meth variable # comment .chain end ~~~ I was made aware of this issue via this bug [1] report, but it has been already reported [2] and fixed [3] upstream. Would be nice if this is fixed in RDoc shipped in Ruby. [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1556732 [2]: https://github.com/ruby/rdoc/issues/585 [3]: https://github.com/ruby/rdoc/pull/586 -- https://bugs.ruby-lang.org/ Unsubscribe: