On Sunday, 3 February 2013 at 09:04:59 UTC, David Nadlinger wrote:
On Sunday, 3 February 2013 at 08:16:08 UTC, Andrei Alexandrescu
wrote:
It is understood that the current proposal is just a draft and
there must be quite a few corner cases it doesn't discuss.
Here are some more test cases to think about:
http://wiki.dlang.org/Property_Discussion_Wrap-up#Unified_test_suite
Specifically, for ref-returning function, I assume the
&-operator is meant to return the address of the callable for
non-@property function, but the address of the returned value
for @properties?
I wanted to avoid the topic as it is basically solved for
properties.
Andrei, is that possible to split the DIP in 2 : one for
properties and one for other functions.
It seems that the @property part is agreed by most people, but
the other one raise more questions.