Make dur a property?

Dmitry Olshansky dmitry.olsh at gmail.com
Wed Jan 23 09:53:41 PST 2013


23-Jan-2013 21:13, Timon Gehr пишет:
> 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.

+111

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list