I just encountered something to consider. Should a property be overloadable if
the names/args are the same but the return type is different? I think if they
are not the same access type (i.e. read/write) then it could work (not sure
about the parsing though) but if both are the same access then they should not
be allowed.
======
property Values[key: variant]: TValue read GetValue; default;
property Values[key: variant]: variant write SetValue; default;
======
property Values[key: variant]: TValue read GetValue; default;
property Values[key: variant]: string read GetValue; default;
Regards,
Ryan Joseph
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel