Make dur a property?

Ali Çehreli acehreli at yahoo.com
Wed Jan 23 09:24:54 PST 2013


On 01/23/2013 09:13 AM, Timon Gehr wrote:
 > On 01/23/2013 06:03 PM, monarch_dodra wrote:
 >> ...
 >>
 >> Well, if you are compiling with "-property", the compiler forces you to
 >> ...
 >
 > So don't.
 >
 >> AFAIK, the "-property" switch enforces that non-property functions use
 >> parenthesis, so removing an "@property" attribute is potentially
 >> breaking. The opposite though is not so true. You can add @property to
 >> anything, and never break code.
 >
 > That is completely nonsensical behaviour. Just ignore -property.

+1.

Ali



More information about the Digitalmars-d mailing list