[fpc-pascal] overloaded property index

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Aug 13 00:28:17 CEST 2016


On 12/08/16 22:51, Luca Olivetti wrote:
> El 12/08/16 a les 20:40, Jonas Maebe ha escrit:
>> On 12/08/16 20:32, Sven Barth wrote:
>>> Better don't rely on it then. If at all it would be implemented properly
>>> (and for Delphi compatibility it probably will).
>>
>> According to the bug report mentioned in the first message of this
>> thread, Delphi only supports overloading for default properties.
>
> Is there a reason for implementing it "properly" only for the default
> property? (apart from delphi compatibility).
> I don't see a difference between default and other properties for this
> particular issue.

In many cases, when we implement something like that differently than 
Delphi, in hindsight there indeed was a good reason for the original 
Delphi behaviour even if we didn't see it immediately. So I'm very wary 
to stray from that path nowadays.


Jonas




More information about the fpc-pascal mailing list