Make dur a property?

Adam D. Ruppe destructionator at gmail.com
Wed Jan 23 14:58:37 PST 2013


On Wednesday, 23 January 2013 at 20:29:24 UTC, Andrej Mitrovic 
wrote:
> This is regardless of the -property switch. I would expect the 
> second call to work.

Indeed. I don't know if it is filed (I think I saw it mentioned 
on irc yesterday though, so it might be), but this is exactly why 
-property is so useless: it doesn't even solve the problem 
(exactly what you saw there!) that @property was supposed to 
address!

The current implementation ONLY checks syntax. That's completely 
backward: if we got the semantics right, the syntax of 
@properties would take care of itself.


More information about the Digitalmars-d mailing list