[phobos] AutoImplement: Shouldn't it be a mixin template?

David Simcha dsimcha at gmail.com
Wed Sep 8 10:41:37 PDT 2010


On Wed, Sep 8, 2010 at 1:11 PM, Shin Fujishiro <rsinfu at gmail.com> wrote:

> Template Mixins do not work as advertised
>  http://d.puremagic.com/issues/show_bug.cgi?id=2740
>
> That said, I think we can make AutoImplement a template mixin.  With a
> quick test (unit tests), there seems to be no problem to make it so
> except for that particular limitation (bug 2740).
>
>
> This is a nasty bug.  See my latest update to the report.  It appears to
only happen when calling the method from its interface handle, i.e. only the
interface vtable is wrong.  This is probably why I never noticed it before.

In the meantime, we should do the right thing from a design perspective and
just warn about that bug in the docs until it gets fixed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100908/6a4c2d30/attachment.html>


More information about the phobos mailing list