Nested associative arrays

Ellery Newcomer ellery-newcomer at utulsa.edu
Sat Nov 13 08:13:05 PST 2010


Wow.

Yeah, I guess all bets are off when it comes to initializations.

In the meantime, I guess you'll have to use

string[string][string] tree;
tree = ["" : ["" : ""]];

On 11/13/2010 05:02 AM, Jacob Carlborg wrote:
> Well, yes. The following code:
>
> module main;
>
> void main ()
> {
> auto tree = ["" : ["" : ""]];
> }
>
> Using DMD 1.065 results in:
>
> Assertion failed: (0), function toExpression, file init.c, line 437.
>


More information about the Digitalmars-d-learn mailing list