On 02/01/2014 07:44 PM, Dicebot wrote:
On Saturday, 1 February 2014 at 17:38:44 UTC, Jesse Phillips wrote:
alias this = foo;
This is new syntax, has some edge cases which fail and intended to
replace the old typedef style
alias Type NewName;
Such that it look more like variable assignment:
alias NewName = Type;
This syntax was intended to only be used for normal aliases, not "alias
this", and was supposed to be removed for latter.
Which is highly nonsensical and basically shows that alias this should
have been done as a (or more than one) specially named member instead,
as the syntactic pun appears not to be working.