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?

Reply via email to