Misleading error message calling private method

Hello,

IronRuby throws misleading error message, when I call private method of
the C# class.


C#
public class Cls {
private void private_method() {}
}

Ruby:
Cls.new.private_method

Output:
#<ArgumentError: wrong number or type of arguments for
`private_method’>


  • Alex.

Could you file a bug @ http://rubyforge.org/projects/ironruby/?

Thanks,
Tomas

Hi, Tomas

I submitted it as bug # 23508, thought did no assignments.

  • Alex

That’s the right way :slight_smile:

Thanks,
Tomas