On Mon, Apr 09, 2012 at 09:42:25PM +0200, bearophile wrote:
> 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.
[...]

I just checked out tag v2.054 of dmd from git, and the same error
happens. I guess it's a bug that nobody ran into before?


T

-- 
Music critic: "That's an imitation fugue!"

Reply via email to