Alex 2k8
2009-Jan-09 15:55 UTC
[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/.
Tomas Matousek
2009-Jan-09 17:07 UTC
[Ironruby-core] Misleading error message calling private method
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
Alex 2k8
2009-Jan-09 21:25 UTC
[Ironruby-core] Misleading error message calling private method
Hi, Tomas I submitted it as bug # 23508, thought did no assignments. - Alex -- Posted via http://www.ruby-forum.com/.
Tomas Matousek
2009-Jan-09 22:29 UTC
[Ironruby-core] Misleading error message calling private method
That''s the right way :) 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 1:25 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Misleading error message calling private method Hi, Tomas I submitted it as bug # 23508, thought did no assignments. - Alex -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core