Do you know if the following four problems are already present in Bugzilla? I
don't remember (the only problem I am more sure is not present in Bugzilla is
the missed priting in the first program).
import std.algorithm, std.stdio;
void main() {
int[int] hash = [
On 5/3/11, bearophile wrote:
> struct Foo {
> int x;
> this(int xx) {
> this.x = xx;
> }
> }
> void main() {
> enum f = Foo(10);
> }
>
Perhaps a relevant bug is where a struct-typed enum doesn't call the
struct ctor if it has one, but uses field-by-field initialization
ins