#512: MacRuby misreports #initialize argument count in error messages
-----------------------------------+----------------------------------------
Reporter: matt...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
-----------------------------------+----------------------------------------
Given the following code,
{{{
class A
def initialize(a, b, c)
end
end
A.new
}}}
'''Expected result (Ruby 1.9.1)'''
{{{ArgumentError: wrong number of arguments (0 for 3)}}}
'''Actual result (MacRuby 0.5b2)'''
{{{ArgumentError: wrong number of arguments (0 for 1)}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/512>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel