H. S. Teoh:

        struct S {
                const(int)[4] data;
                this(const(int)[4] d) {
                        data = d;       // this is line 4
                }
        }

        void main() {
                S s;
        }

I think this used to work (do you have an older DMD to verify it?). So maybe this is regression.

Bye,
bearophile

Reply via email to