xxxxxxxxxx
struct Bar
{
string s;
}
struct Foo
{
Bar[string] asso;
Bar[] arr;
}
void main()
{
Foo foo = {
arr: [{s: "123"}],
asso: ["0": Bar("n")], // does work
//Do not work:
//asso: ["0": {"string"}],
//asso: ["0": {s: "123"}]
};
}