From: Evgeniy Dolzhenko Date: 2010-04-28T20:40:59+09:00 Subject: [ruby-core:29839] [Bug #3214] Missing function name in "Wrong number of arguments" exception backtrace Bug #3214: Missing function name in "Wrong number of arguments" exception backtrace http://redmine.ruby-lang.org/issues/show/3214 Author: Evgeniy Dolzhenko Status: Open, Priority: Normal Category: core, Target version: 1.9.x ruby -v: ruby 1.9.2dev (2010-04-28 trunk 27532) As illustrated below 1.8 reported the name of function called with wrong number of arguments, while 1.9 doesn't > ruby -v -e 'def f(a) end; f' ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-linux] -e:1:in `f': wrong number of arguments (0 for 1) (ArgumentError) from -e:1 > ruby -v -e 'def f(a) end; f' ruby 1.9.2dev (2010-04-28 trunk 27532) [i686-linux] -e:1:in `
': wrong number of arguments (0 for 1) (ArgumentError) ---------------------------------------- http://redmine.ruby-lang.org