On 11-Jul-12 00:07, Tobias Pankrath wrote:
Given: @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. It only adds a silly rule that was never part of the @property design. I am astonished that it made it into the compiler.+1
Same here. Still no idea what they were smoking at the time. -- Dmitry Olshansky
