[Ironruby-core] Accessing classes that are inherited from generics.

Tomas Matousek Tomas.Matousek at microsoft.com
Thu Jul 22 12:01:04 EDT 2010


Can you send a small repro of what doesn't work (both C# and Ruby code)?
It works for me.

test.cs:
public class D<T> {
}

public class E {
}

public class C : D<E> {
}

---
>>> require 'test.dll'
=> true
>>> C.new
=> C

Tomas

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Kevin Pratt
Sent: Thursday, July 22, 2010 5:29 AM
To: ironruby-core
Subject: [Ironruby-core] Accessing classes that are inherited from generics.

Hello,

I have a few classes in a namespace that follow this form.

public class ExampleName : BaseClass<ExampleName>
{
}

Any class that follows this structure does not get pulled through when I require my DLL.

Does anyone have any ideas?

I'm also using the Castle ActiveRecord project and the classes that inherit from ActiveRecordBase<> also do not come through.

Thank you.
Kevin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100722/296aa5c1/attachment.html>


More information about the Ironruby-core mailing list