[dmd-beta] D 1.075 and 2.060 betas 2

kenji hara k.hara.pg at gmail.com
Mon Jul 30 08:24:55 PDT 2012


2012/7/31 Don Clugston <dclugston at gmail.com>:
> On 30 July 2012 16:28, Andrei Alexandrescu <andrei at erdani.com> wrote:
>> On 7/30/12 10:27 AM, David Simcha wrote:
>>>
>>> So is http://d.puremagic.com/issues/show_bug.cgi?id=8428  officially a
>>> wontfix for this release?
>>
>>
>> I think it's quite important we fix that one and its ilk.
>
> Bug 5939 seems to be a Phobos design flaw, and this one is probably related.
> Unfortunately, I don't think we can fix the problem other than by
> ripping all Voldemort types out of Phobos. Voldemort Types now appear
> to be a concept that has tragically flawed semantics, and also has
> poor performance (see
> http://d.puremagic.com/issues/show_bug.cgi?id=5939). Removing them
> would be a big change to make this late in a release cycle.
> I don't know what to do here.

I completely agree. Voldemort type is a good idiom, but cannot control
the context pointer.

I think it requires such enhancement for the compiler.
http://d.puremagic.com/issues/show_bug.cgi?id=8463

Kenji Hara


More information about the dmd-beta mailing list