where is parameterNames?

Ellery Newcomer ellery-newcomer at utulsa.edu
Mon Aug 13 22:31:47 PDT 2012


On 08/13/2012 09:49 PM, Jonathan M Davis wrote:
> On Monday, August 13, 2012 21:40:48 Ellery Newcomer wrote:
>> pragma(msg, __traits(parameterNames, Constructors[0]));
>>
>> gives me
>>
>> tok.d(19): Error: unrecognized trait parameterNames
>
> Parameter names aren't part of a function's API. Why would you need them?
>
> - Jonathan M Davis
>

I was thinking about adding keyword argument support to pyd wrapped 
functions.


More information about the Digitalmars-d-learn mailing list