Array declaration warning

Meta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 4 11:26:34 PDT 2015


On Thursday, 4 June 2015 at 16:52:30 UTC, Ali Çehreli wrote:
> On 06/04/2015 04:27 AM, Meta wrote:
> > On Wednesday, 3 June 2015 at 21:05:42 UTC, Ali Çehreli wrote:
>
> >>     a[] = b;    // makes the elements of 'a' same as 'b's
> elements
>
> > Isn't a[] = b deprecated syntax? I believe you have to use
> a[] = b[] now.
>
> Thanks. Unfortunately, 2.067.1 'dmd -w -de' is still quiet 
> about that one.
>
> Ali

Then maybe I'm wrong. I was sure, though, that Andrei created a 
thread complaining about the change sometime last year (which is 
why I remember that it was changed in the first place).


More information about the Digitalmars-d-learn mailing list