[Ironruby-core] Misleading error message calling private method

Tomas Matousek Tomas.Matousek at microsoft.com
Fri Jan 9 12:07:45 EST 2009


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

Thanks,
Tomas

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Alex 2k8
Sent: Friday, January 09, 2009 7:55 AM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] 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.
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list