[Ironruby-core] Problem with generic method resolution
curth at microsoft.com
Wed Mar 18 19:46:49 EDT 2009
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
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:
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
I have found out the following problem:
>>> require 'System.Core, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089'
>>> include System
>>> include System::Linq::Expressions
:0: wrong number of arguments (2 for 4) (ArgumentError)
: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?
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironruby-core