<div dir="ltr">This adds boilerplate, that I can't afford. I need to transparently add dynamic dispatch to classes and I can't modify all of them. Besides, I have had experience with this previously and it causes a ton of problems, because there's no way of making sure the static type is passed and its' the right one.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 7:46 PM, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank">doob@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2013-02-20 16:38, Gor Gyolchanyan wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="http://d.puremagic.com/issues/show_bug.cgi?id=9551" target="_blank">http://d.puremagic.com/issues/<u></u>show_bug.cgi?id=9551</a><br>
<br>
I really really hope this gets fixed soon, because my project is stuck<br>
because of this.<br>
</blockquote>
<br></div>
You can't pass the static type to the base class, just as a workaround?<br>
<br>
class Base (T) { }<br>
<br>
class Sub : Base!(Sub) { }<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
/Jacob Carlborg<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.
</div>