Initialising invariant associative array
David Ferenczi
raggae at ferenczi.net
Tue Jun 24 03:34:09 PDT 2008
Gide Nwawudu wrote:
> 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
I haven't found this former issue, so I also filed a bug:
http://d.puremagic.com/issues/show_bug.cgi?id=2158
It may be then a duplicate.
David
More information about the Digitalmars-d-learn
mailing list