<div class="gmail_quote">On Sat, Jul 14, 2012 at 12:31 AM, Andrei Alexandrescu <span dir="ltr"><<a href="mailto:SeeWebsiteForEmail@erdani.org" target="_blank">SeeWebsiteForEmail@erdani.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 7/13/12 3:49 PM, Gor Gyolchanyan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Jul 13, 2012 at 11:41 PM, Andrei Alexandrescu<br>
<<a href="mailto:SeeWebsiteForEmail@erdani.org" target="_blank">SeeWebsiteForEmail@erdani.org</a> <mailto:<a href="mailto:SeeWebsiteForEmail@erdani.org" target="_blank">SeeWebsiteForEmail@<u></u>erdani.org</a>>><div>
<div class="h5"><br>
wrote:<br>
<br>
    On 7/13/12 3:36 PM, Gor Gyolchanyan wrote:<br>
<br>
        The initial question was: why does DMD 2.059 reject this if this<br>
        makes<br>
        sense?<br>
        It's not even a new feature. It's a (possibly) new (and apparently<br>
        sensible) use case of an existing feature.<br>
<br>
<br>
    I think the simple answer is there was no provision for it. The<br>
    feature copies the Java feature, and I don't think Java has<br>
    something like what you defined.<br>
<br>
    Andrei<br>
<br>
<br></div></div><div class="im">
Well, the nested classes are pretty much useless without this feature.<br>
Except for translating Java code. If I had multiple inheritance, I'd<br>
just make the Apple as base class and have all the seeds virtually<br>
derive from it. Not having multiple inheritance drove me to try the next<br></div>
best think. And after it failed, I complained about it.. And here we<div class="im"><br>
are. Is it a difficult thing to fix?<br>
</div></blockquote>
<br>
I don't know, you may want to submit an enhancement request.<span class="HOEnZb"><font color="#888888"><br>
<br>
Andrei<br>
<br>
</font></span></blockquote></div><br><a href="http://d.puremagic.com/issues/show_bug.cgi?id=8389">http://d.puremagic.com/issues/show_bug.cgi?id=8389</a> <div><br></div><div>Anyone who thinks this is important, please vote up.<br clear="all">
<div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.<br>
</div>