Not really an answer but this works,
```
struct Foo {
        string s;
        this(string s) { this.s = s; }
}

void main(){
Foo foo = "a";
Foo[] foos;
foos ~=foo;
}%
```

Reply via email to