Stefan Dobrev
2009-Mar-09 23:57 UTC
[Ironruby-core] Problem with generic method resolution
Hi, I have found out the following problem:>>> require ''System.Core, Version=3.5.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089'' => true>>> include System=> Object>>> include System::Linq::Expressions >>> Expression.Call:0: wrong number of arguments (2 for 4) (ArgumentError)>>> Expression.Parameter:0: undefined method `Parameter'' for TypeGroup of Expression:Microsoft::Scripting::Actions::TypeGroup (NoMethodError) Obviously the Call method was recognized but the Parameter one not. Should I file a bug or this is known and will be fixed? Regards, Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090310/2350d464/attachment.html>
Jimmy Schementi
2009-Mar-17 18:13 UTC
[Ironruby-core] Problem with generic method resolution
Did anyone reply to you? If you haven''t submitted a bug on RubyForge, please do. From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Stefan Dobrev Sent: Monday, March 09, 2009 7:57 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Problem with generic method resolution Hi, I have found out the following problem:>>> require ''System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089''=> true>>> include System=> Object>>> include System::Linq::Expressions >>> Expression.Call:0: wrong number of arguments (2 for 4) (ArgumentError)>>> Expression.Parameter:0: undefined method `Parameter'' for TypeGroup of Expression:Microsoft::Scripting::Actions::TypeGroup (NoMethodError) Obviously the Call method was recognized but the Parameter one not. Should I file a bug or this is known and will be fixed? Regards, Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090317/93dc5bd0/attachment-0001.html>
Stefan Dobrev
2009-Mar-18 23:35 UTC
[Ironruby-core] Problem with generic method resolution
Nope. Nobody replied except you :) Bug report is filed: http://rubyforge.org/tracker/?func=detail&aid=24668&group_id=4359&atid=16798 2009/3/17 Jimmy Schementi <Jimmy.Schementi at microsoft.com>> Did anyone reply to you? If you haven?t submitted a bug on RubyForge, > please do. > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Stefan Dobrev > *Sent:* Monday, March 09, 2009 7:57 PM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Problem with generic method resolution > > > > Hi, > > I have found out the following problem: > > >>> require ''System.Core, Version=3.5.0.0, Culture=neutral, > PublicKeyToken=b77a5c561934e089'' > => true > >>> include System > => Object > >>> include System::Linq::Expressions > >>> Expression.Call > :0: wrong number of arguments (2 for 4) (ArgumentError) > >>> Expression.Parameter > :0: undefined method `Parameter'' for TypeGroup of > Expression:Microsoft::Scripting::Actions::TypeGroup (NoMethodError) > > Obviously the Call method was recognized but the Parameter one not. Should > I file a bug or this is known and will be fixed? > > Regards, > Stefan > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090319/e898c132/attachment.html>
Curt Hagenlocher
2009-Mar-18 23:46 UTC
[Ironruby-core] Problem with generic method resolution
There are two different Expression classes in the Expressions namespace - a templated one and an untemplated one. You need to force the untemplated one, which you can do by saying System::Linq::Expressions::Expression.of().Parameter From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Stefan Dobrev Sent: Wednesday, March 18, 2009 4:35 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Problem with generic method resolution Nope. Nobody replied except you :) Bug report is filed: http://rubyforge.org/tracker/?func=detail&aid=24668&group_id=4359&atid=16798 2009/3/17 Jimmy Schementi <Jimmy.Schementi at microsoft.com<mailto:Jimmy.Schementi at microsoft.com>> Did anyone reply to you? If you haven''t submitted a bug on RubyForge, please do. From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Stefan Dobrev Sent: Monday, March 09, 2009 7:57 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] Problem with generic method resolution Hi, I have found out the following problem:>>> require ''System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089''=> true>>> include System=> Object>>> include System::Linq::Expressions >>> Expression.Call:0: wrong number of arguments (2 for 4) (ArgumentError)>>> Expression.Parameter:0: undefined method `Parameter'' for TypeGroup of Expression:Microsoft::Scripting::Actions::TypeGroup (NoMethodError) Obviously the Call method was recognized but the Parameter one not. Should I file a bug or this is known and will be fixed? Regards, Stefan _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090318/fe99dc31/attachment.html>
Tomas Matousek
2009-Mar-19 00:52 UTC
[Ironruby-core] Problem with generic method resolution
We''ll probably fix this so that if not specified otherwise the default would be the non-generic unless there is a catch ;) Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Curt Hagenlocher Sent: Wednesday, March 18, 2009 4:47 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Problem with generic method resolution There are two different Expression classes in the Expressions namespace - a templated one and an untemplated one. You need to force the untemplated one, which you can do by saying System::Linq::Expressions::Expression.of().Parameter From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Stefan Dobrev Sent: Wednesday, March 18, 2009 4:35 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Problem with generic method resolution Nope. Nobody replied except you :) Bug report is filed: http://rubyforge.org/tracker/?func=detail&aid=24668&group_id=4359&atid=16798 2009/3/17 Jimmy Schementi <Jimmy.Schementi at microsoft.com<mailto:Jimmy.Schementi at microsoft.com>> Did anyone reply to you? If you haven''t submitted a bug on RubyForge, please do. From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Stefan Dobrev Sent: Monday, March 09, 2009 7:57 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] Problem with generic method resolution Hi, I have found out the following problem:>>> require ''System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089''=> true>>> include System=> Object>>> include System::Linq::Expressions >>> Expression.Call:0: wrong number of arguments (2 for 4) (ArgumentError)>>> Expression.Parameter:0: undefined method `Parameter'' for TypeGroup of Expression:Microsoft::Scripting::Actions::TypeGroup (NoMethodError) Obviously the Call method was recognized but the Parameter one not. Should I file a bug or this is known and will be fixed? Regards, Stefan _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090318/d6c1aeab/attachment.html>