Initialising invariant associative array

Gide Nwawudu gide at btinternet.com
Tue Jun 24 03:26:33 PDT 2008


On Thu, 19 Jun 2008 10:40:48 +0200, David Ferenczi
<raggae at ferenczi.net> wrote:

>The code compiles, but it generates a segmentation fault. The problem is
>caused by the array initialisation:
>
>>         fooArray = ["s1":fooValue1, "s2":fooValue2];
>>         strArray = [fooValue1:"s1", fooValue2:"s2"];
>
>David
>
>

I think this is a bug, see

http://d.puremagic.com/issues/show_bug.cgi?id=1727

Gide


More information about the Digitalmars-d-learn mailing list