In what state of DIP23?

Michael pr at m1xa.com
Mon Sep 23 12:38:17 PDT 2013


by subject)

> "Read" properties with the @property annotation Applying the 
> "()" to a property will simply apply it to the result of the 
> property. THIS IS A CHANGE OF BEHAVIOR. unittest
> {
>    @property int function() prop1() { return () => 42; }
>    assert(prop1() == 42);
> }

What is about this part?


More information about the Digitalmars-d-learn mailing list