Nested interface

2012-04-01 Thread Read Bixby
I was working on a small personal project, and ran across something I think might (or might not) be a bug. I'm posting in this particular group just in case it's a restriction somewhere that I just don't know about, or maybe just the way that covariance gets resolved. The obvious workaround

Re: Nested interface

2012-04-01 Thread Read Bixby
() const; } class Implementation : Interface { Implementation getNext() { return null; } const(Implementation) getNext() const { return null; } } On Sunday, 1 April 2012 at 16:40:55 UTC, Read Bixby wrote: I

Re: Nested interface

2012-04-01 Thread Read Bixby
Thanks; entered as issue 7807. On Sunday, 1 April 2012 at 20:17:09 UTC, Timon Gehr wrote: On 04/01/2012 08:13 PM, Read Bixby wrote: Hm, I guess it's much simpler than that. I must not be understanding something about covariance. The following code produces the same error message (it has

question about AutoImplement_Helper (and a couple of others)

2011-04-15 Thread Read Bixby
I'm a bit new with the D programming language, so I figured this would be the right place to ask a few questions that have been piling up. So let's start. First, I recently found the AutoImplement class while I was trying to build a Proxy object. It seemed like an interesting thing to try,