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

Interesting. I’ve filed a bug:
http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=2686

Tomas

Thanks Tomas.

Martin

On Mon, Oct 5, 2009 at 3:18 PM, Tomas M.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs