DIP23 draft: Fixing properties redux
deadalnix
deadalnix at gmail.com
Sun Feb 3 07:31:31 PST 2013
On Sunday, 3 February 2013 at 15:16:30 UTC, Steven Schveighoffer
wrote:
> But the spirit of the proposal seems to suggest that for all
> intents and purposes, a property's type is the type of it's
> return value.
>
If you want a function, then just don't annotate with @property.
The whole point of property is that it doesn't behave like a
function.
More information about the Digitalmars-d
mailing list