View Revisions: Issue #35818

Summary 0035818: [PATCH] Minor correction for the Programmer's Guide section on {$VARPROPSETTER}
Revision 2019-07-10 10:26 by Michael Van Canneyt
Description Currently, the documentation states that VARPROPSETTER enables the use of "var/out/const" parameters. However, const parameters are in fact allowed in setters at all times, regardless of whether any directive is active. What VARPROPSETTER actually enables is var/out/constref parameters.

The patch also makes it clearer that this directive affects all possible places a property can appear, not just those associated with classes and interfaces.
Revision 2019-07-10 01:24 by Akira1364
Description Currently, the documentation states that VARPROPSETTER enables the use of "var/out/const" parameters. However, const parameters are in fact allowed in setters at all times, regardless of whether any directive is active. What VARPROPSETTER actually enables is var/out/constref parameters.

The patch also makes it clearer that this directive affects all possible places a property can appear, not just those associated with classes and interfaces.