On Thursday 08 October 2015 16:34, anonymous wrote:
> On Thursday 08 October 2015 06:14, extrawurst wrote:
>> `The -property switch has been deprecated.` Does that mean
>> @property has no effect anymore ?
Correction: @property has at least one effect without -property. typeof acts
differently on properties vs non-properties.
@property int p();
pragma(msg, typeof(S.init.p)); /* int */
pragma(msg, typeof(S.init.n)); /* int() -- i.e. a function */
I wasn't aware of this before Jonathan M Davis told me . I don't think
it's specified anywhere, at least I can't find anything.