Project

General

Profile

Actions

Bug #14617

closed

rdoc crashes when expression contains embedded comment: no implicit conversion of nil into String (TypeError)

Added by vo.x (Vit Ondruch) about 6 years ago. Updated about 6 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]
[ruby-core:86196]

Description

RDoc might fail when comment is inside code, such as:

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0