Who here actually uses D?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Jan 1 19:00:45 PST 2011


On 1/1/11 8:47 PM, Jimmy Cao wrote:
> On Sat, Jan 1, 2011 at 7:10 PM, Adam D. Ruppe <destructionator at gmail.com
> <mailto:destructionator at gmail.com>> wrote:
>
>     Robert Clipsham wrote:
>      > Don't suppose you've got a test case which will reproduce this?
>
>     ===
>     import std.variant;
>
>     void main() {
>             string a, b;
>             Variant[string] v;
>
>             v[a] = b;
>     }
>     ===
>
>     I'm almost certain I've seen something similar in the bugzilla
>     before, but I can't find it now. I find that thing to be
>     incredibly hard to search.
>
>     My DMD is also a release or two behind, so it might already
>     be fixed. (I only update dmd when I'm a few days ahead on my
>     work, just in case I have to deal with a regression or breaking
>     change. While they haven't bothered me for many months now, I
>     still lag a bit to avoid the risk of breaking my production build
>     when the schedule is already packed.)
>
>
> No segfault on Fedora 14, DMD 2.051.  Maybe updating will do the trick.

Just verified, it crashes on 2.050 and works with 2.051.

Andrei


More information about the Digitalmars-d mailing list