Thanks Tomas.

Martin

On Mon, Oct 5, 2009 at 3:18 PM, Tomas Matousek
<tomas.matou...@microsoft.com> wrote:
> Interesting. I've filed a bug: 
> http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=2686
>
> Tomas
>
> -----Original Message-----
> From: ironruby-core-boun...@rubyforge.org 
> [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Martin Smith
> Sent: Monday, October 05, 2009 2:17 PM
> To: ironruby-core@rubyforge.org
> Subject: [Ironruby-core] IronRuby issues with arrays of System::Type
>
> Hello,
>
> If i run the following code:
>
> a = System::Array[System::Type].new(5)
> a[0]
>
> I get an invocation error.
>
> However, if I instead on the second line type:
>
> a.get_value(0)
>
> I get nil back as expected.  Is this a bug with arrays of System::Type 
> specifically?
>
> Thanks,
> Martin
> _______________________________________________
> 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