constref isn't allowed in property setters
Original Reporter info from Mantis: ryan_joseph @genericptr
-
Reporter name: Ryan Joseph
Original Reporter info from Mantis: ryan_joseph @genericptr
- Reporter name: Ryan Joseph
Description:
If you add "constref" to the input parameter of a property setter function you get "Illegal symbol for property access", even though this should be allowed. For example:
function GetValue(index: integer): T;
procedure SetValue(index: integer; constref value: T);
property Values[index: integer]: T read GetValue write SetValue; default; // ERROR: Illegal symbol for property access
Steps to reproduce:
Mantis conversion info:
- Mantis ID: 35821
- Version: 3.3.1