Is "v2Release" intended to target CLRv2? If so, this error is because that 
version of C# and the BCL don't support covariance for IEnumerable.

-----Original Message-----
From: ironruby-core-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jimmy Schementi
Sent: Wednesday, October 05, 2011 8:15 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] IronRuby v2Release xbuild is failing

Can someone sign up to looking into this? After confirming this builds in .NET 
and not Mono, I'd first find out if this is a known Mono bug, and then provide 
a patch to IronRuby to work-around this.

Please let the list know if you want to take this on, 

~js

On Oct 5, 2011, at 11:10 AM, Doug Blank wrote:

> Reported as:
> http://ironruby.codeplex.com/workitem/6523
> 
> -Doug
> 
> On Mon, Oct 3, 2011 at 4:22 PM, Doug Blank <doug.bl...@gmail.com> wrote:
>> FYI,
>> 
>> When trying to build IronRuby for a v2Release under Mono 2.10.2, I'm 
>> getting a failure:
>> 
>> % git clone https://github.com/IronLanguages/main.git IronLanguages % 
>> cd IronLanguages % xbuild Solutions/Ruby.sln 
>> /p:Configuration="v2Release"
>> ...
>> Builtins/RangeOps.cs(307,17): error CS0266: Cannot implicitly convert 
>> type 
>> `System.Collections.Generic.IEnumerable<IronRuby.Builtins.MutableString>'
>> to `System.Collections.Generic.IEnumerable<object>'. An explicit 
>> conversion exists (are you missing a cast?)
>> 
>> Building for the regular configuration is fine.
>> 
>> -Doug
>> 
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core@rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core




_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to