From: hsbt@... Date: 2018-03-20T01:57:56+00:00 Subject: [ruby-core:86210] [Ruby trunk Bug#14617][Assigned] rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError) Issue #14617 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Open to Assigned Assignee set to hsbt (Hiroshi SHIBATA) ---------------------------------------- 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-71105 * Author: vo.x (Vit Ondruch) * Status: Assigned * 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: UNKNOWN ---------------------------------------- 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: