[Ironruby-core] IronRuby issues with arrays of System::Type
Tomas Matousek
Tomas.Matousek at microsoft.com
Mon Oct 5 18:18:51 EDT 2009
Interesting. I've filed a bug: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=2686
Tomas
-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Martin Smith
Sent: Monday, October 05, 2009 2:17 PM
To: ironruby-core at 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 at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
More information about the Ironruby-core
mailing list