On Mon, Apr 09, 2012 at 06:53:32PM -0700, H. S. Teoh wrote:
> 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?
[...]

Opened new bug:

        http://d.puremagic.com/issues/show_bug.cgi?id=7882


T

-- 
"I speak better English than this villain Bush" -- Mohammed Saeed al-Sahaf, 
Iraqi Minister of Information

Reply via email to