Struct constructors callable twice?

Guilherme Vieira n2.nitrogen at gmail.com
Wed Jan 12 05:01:34 PST 2011


Yes, it was meddling with that bug that I cooked this one.

I think Adam got it right: "There should be no problem between an instance
opCall and a constructor". In your case, it seems, a static opCall was
clashing with the constructor. But it turns out a non-static opCall clashes
with a constructor that AFAIK shouldn't even be there (see my initial post).

-- 
Atenciosamente / Sincerely,
Guilherme ("n2liquid") Vieira


On Wed, Jan 12, 2011 at 10:12 AM, bearophile <bearophileHUGS at lycos.com>wrote:

> See also:
> http://d.puremagic.com/issues/show_bug.cgi?id=4053
>
> Bye,
> bearophile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110112/b94e761d/attachment.html>


More information about the Digitalmars-d-learn mailing list