DIP23 draft: Fixing properties redux
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sun Feb 3 11:40:08 PST 2013
On 2/3/13 12:34 PM, Andrei Alexandrescu wrote:
> On 2/3/13 7:37 AM, kenji hara wrote:
[snip]
Copied your unittests with changes and explanations:
http://wiki.dlang.org/DIP23#unittest. Please take a look and let me know
of what you think!
For now I conservatively disallow top-level properties with 0
parameters. I think we can allow them later if there's a strong need.
Top-level properties with 1 argument are always getters.
We need a bunch more with unittests that return callable entities.
Andrei
More information about the Digitalmars-d
mailing list