Specifying eponymous template "internal parameter"

monarch_dodra monarchdodra at gmail.com
Tue Jan 8 11:39:55 PST 2013


On Tuesday, 8 January 2013 at 18:40:55 UTC, Philippe Sigaud wrote:
> On Tue, Jan 8, 2013 at 5:59 PM, monarch_dodra
>> It works for everything except "alias something this". Not 
>> that it can't
>> be done, but there were discussions for another syntax 
>> specific to alias
>> this.
>>
>
> The grammar says:
>
> *AliasThisDeclaration*: *alias* *Identifier* *this* *alias* 
> *this* *=* *
> Identifier* AliasThisDeclaration:
>     alias Identifier this
>     alias this = Identifier
>
> Nice nice nice.

Ah: There it is:
https://github.com/D-Programming-Language/dmd/pull/1413

The plan was to kill it before it made it into 2.061, but I guess 
it made it.

Anyways, the details are there if you want details. I don't know 
which way it'll go.


More information about the Digitalmars-d-learn mailing list