2012/7/31 Don Clugston <[email protected]>: > On 30 July 2012 16:28, Andrei Alexandrescu <[email protected]> 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 _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
