Project

General

Profile

Actions

Backport #2245

closed

irb reports a very loving backtrace at times.

Added by rogerdpack (Roger Pack) over 14 years ago. Updated almost 5 years ago.


Description

=begin
Entering the following code in irb of 1.8.x (enter it several times)

It yields:

[].send :pop, *args3 { a, b, c=3 }
NoMethodError: undefined method args3' for main:Object from (irb):31 ... repeat several times then [].send :pop, *args3 { a, b, c=3 } NoMethodError: undefined method args3' for main:Object
from (irb):33
from :0
... repeat several times, then
[].send :pop, *args3 { a, b, c=3 }
NoMethodError: undefined method `args3' for main:Object
from (irb):51
from ♥:0

(on windows--on linux it displays a different odd character).

Seems to work fine on 1.9, though.

Thanks!
-r
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0