On Tuesday, July 10, 2012 22:04:17 Timon Gehr wrote:
> @property int delegate() foo(){ ... }
> @property int bar(){ ... }
> int baz(){ ... }
> 
> foo(); // calls the delegate.
> bar(); // illegal
> baz; // ok, call baz
> 
> dmd -property gets every single one of these wrong. -property does _not_
> enforce @property semantics.

The current implementation of -property is horribly broken:

http://d.puremagic.com/issues/show_bug.cgi?id=4183
http://d.puremagic.com/issues/show_bug.cgi?id=8162

It's not actually enforcing what it's supposed to enforce, and it needs to be 
fixed.

- Jonathan M Davis

Reply via email to