Forum: IronRuby Misleading error message calling private method

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Alex 2. (Guest)
on 2009-01-09 17:55
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.
Tomas M. (Guest)
on 2009-01-09 19:53
(Received via mailing list)
Could you file a bug @ http://rubyforge.org/projects/ironruby/?

Thanks,
Tomas
Alex 2. (Guest)
on 2009-01-09 23:25
Hi, Tomas

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

- Alex
Tomas M. (Guest)
on 2009-01-10 01:48
(Received via mailing list)
That's the right way :)

Thanks,
Tomas
This topic is locked and can not be replied to.