Getters/setters generator

Eugene Wissner via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Dec 14 03:41:26 PST 2016


On Sunday, 11 December 2016 at 03:15:55 UTC, Mike Bierlee wrote:
> I was under the impression that you could only access methods 
> as if they were fields using the @property attribute. After 
> carefully reading the documentation I see this is not the case 
> (UFCS does this). Still there are some added benefits from 
> using @property to completely threat them as fields. It would 
> be nice if you could add @property to the generated 
> getters/setters.

Here is the pull request to add @property to the generated 
methods:
https://github.com/funkwerk/accessors/pull/4


More information about the Digitalmars-d-announce mailing list