September 23, 2013 In what state of DIP23? | ||||
---|---|---|---|---|
| ||||
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?
|
Copyright © 1999-2021 by the D Language Foundation