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.
On Wed, Feb 20, 2013 at 7:46 PM, Jacob Carlborg <[email protected]> wrote: > On 2013-02-20 16:38, Gor Gyolchanyan wrote: > > > http://d.puremagic.com/issues/**show_bug.cgi?id=9551<http://d.puremagic.com/issues/show_bug.cgi?id=9551> >> >> I really really hope this gets fixed soon, because my project is stuck >> because of this. >> > > You can't pass the static type to the base class, just as a workaround? > > class Base (T) { } > > class Sub : Base!(Sub) { } > > -- > /Jacob Carlborg > -- Bye, Gor Gyolchanyan.
