@property needed or not needed?

Adam D. Ruppe destructionator at gmail.com
Tue Nov 20 05:26:15 PST 2012


On Tuesday, 20 November 2012 at 12:44:44 UTC, Jacob Carlborg 
wrote:
> Should this be allowed for functions that isn't marked with 
> @property:
>
> foo = 3;

Yes. We should *only* be changing the way @property is 
implemented. (Namely, actually implementing it!)

Don't want to break existing code. The new changes must be opt in.


If there's both an @property setter and a regular function, the 
property should be used here.


More information about the Digitalmars-d mailing list