<div class="gmail_quote">On Sat, Jul 14, 2012 at 8:17 PM, deadalnix <span dir="ltr"><<a href="mailto:deadalnix@gmail.com" target="_blank">deadalnix@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 14/07/2012 08:27, Gor Gyolchanyan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sat, Jul 14, 2012 at 12:31 AM, Andrei Alexandrescu<div class="im"><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>>><br>
wrote:<br>
<br>
On 7/13/12 3:49 PM, Gor Gyolchanyan wrote:<br>
<br>
On Fri, Jul 13, 2012 at 11:41 PM, Andrei Alexandrescu<br>
<<a href="mailto:SeeWebsiteForEmail@erdani.org" target="_blank">SeeWebsiteForEmail@erdani.org</a><br>
<mailto:<a href="mailto:SeeWebsiteForEmail@erdani.org" target="_blank">SeeWebsiteForEmail@<u></u>erdani.org</a>><br></div>
<mailto:<a href="mailto:SeeWebsiteForEmail@" target="_blank">SeeWebsiteForEmail@</a>__<a href="http://erdani.org" target="_blank">e<u></u>rdani.org</a><div class="im"><br>
<mailto:<a href="mailto:SeeWebsiteForEmail@erdani.org" target="_blank">SeeWebsiteForEmail@<u></u>erdani.org</a>>>><br>
<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<br>
this if this<br>
makes<br>
sense?<br>
It's not even a new feature. It's a (possibly) new (and<br>
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>
Well, the nested classes are pretty much useless without this<br>
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<br>
the next<br>
best think. And after it failed, I complained about it.. And here we<br>
<br>
are. Is it a difficult thing to fix?<br>
<br>
<br>
I don't know, you may want to submit an enhancement request.<br>
<br>
Andrei<br>
<br>
<br>
</div><div class="im"><a href="http://d.puremagic.com/issues/show_bug.cgi?id=8389" target="_blank">http://d.puremagic.com/issues/<u></u>show_bug.cgi?id=8389</a><br>
<br>
Anyone who thinks this is important, please vote up.<br>
<br>
--<br>
Bye,<br>
Gor Gyolchanyan.<br>
</div></blockquote>
<br>
This is something to do, but I don't know if it is really that important.<br>
</blockquote></div><br>It's already fixed and will be in DMD 2.060<br clear="all"><div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.<br>