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.

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

  • ruby -v set to ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]
$ rdoc -v
6.0.1

Updated by aycabta (aycabta .) about 6 years ago

This bug is fixed. RDoc 6.0.2 was released two days ago. Please use it.

Updated by aycabta (aycabta .) about 6 years ago

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.

Sorry, I understand this issue's intention.

This issue should be assigned to @hsbt (Hiroshi SHIBATA).

Updated by hsbt (Hiroshi SHIBATA) about 6 years ago

  • Status changed from Open to Assigned
  • Assignee set to hsbt (Hiroshi SHIBATA)

Updated by hsbt (Hiroshi SHIBATA) about 6 years ago

  • Status changed from Assigned to Closed

Merged RDoc 6.0.3 at r62924

Actions #6

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

  • Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN to 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: REQUIRED

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

Thx. I hope this gets backported into next stable update.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0