Issue #8884 has been updated by nobu (Nobuyoshi Nakada).


Seems fine.
----------------------------------------
Bug #8884: `caller(1, nil)` raises a runtime error while its reference says its signature as `caller(start=1, length=nil)`
https://bugs.ruby-lang.org/issues/8884#change-41709

Author: gfx (Goro Fuji)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: 
Target version: 
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.4.0]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


> $ ruby -e 'caller(1, nil)'
> -e:1:in `caller': no implicit conversion from nil to integer (TypeError)
>	from -e:1:in `<main>'

Either the behaviour or the document looks wrong; I don't know which is wrong, though.


-- 
http://bugs.ruby-lang.org/