alias two froms

Peter Alexander via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 11 13:06:15 PDT 2014


On Thursday, 11 September 2014 at 19:08:27 UTC, eles wrote:
> See this:
>
> http://forum.dlang.org/post/kfdkkwikrfvaukhctrmq@forum.dlang.org
>
> "alias" supports two syntaxes, one of them specifically to 
> address writing things like alias A this.
>
> That's inconsistent. I agree not the most urgent thing in the 
> world, but while the fixing things happens (see the @property), 
> why not address this too?
>
> So? Deprecate the old syntax?

This was discussed recently.

The problem is that the new syntax is only a few versions old, so 
deprecating the old syntax means breaking all D code that's more 
than a year old.

If D had no existing customers then yeah, we'd remove it, but I 
think it's too early to start deprecation.


More information about the Digitalmars-d mailing list