@property usage

Nicholas Londey via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Dec 8 23:31:20 PST 2014


> as this can break some invalid code (the code where people using
> properties as functions)

Does @property ever make sense for a free floating function? I 
would have thought no but was recently asked to add it if using 
the function with uniform call syntax.

https://github.com/D-Programming-Language/dub/pull/455#discussion_r21430311




More information about the Digitalmars-d-learn mailing list