Alias syntax removal - 2.061 changelog

Nick Treleaven ntrel-public at yahoo.co.uk
Mon Feb 11 05:58:52 PST 2013


On 11/02/2013 10:46, Stewart Gordon wrote:
> On 10/02/2013 13:13, bearophile wrote:
>> Now I have a good amount of code broken by:
>>
>> alias x = 5;
>> alias this = foo;
>
> Was this ever documented?  How many people ever knew this syntax
> existed?  Not me....

The 2.061 changelog has a 'new/changed features' link to bugzilla items, 
where there's an item 'alias should have assignment syntax'.

There are two issues with this approach:

1. Alias assignment syntax is (probably) a more interesting change to 
many D users than quite a few of the other new/changed items listed. It 
is buried amongst some less interesting items.

2. Being a bugzilla item title it doesn't contain syntax examples, which 
is what a changelog reader would like to see.

The new deprecated switches item did get a paragraph in the changelog, 
but other significant changes did not.



More information about the Digitalmars-d mailing list