On 03.01.2020 10:45, J. Gareth Moreton wrote:
Given the "illegal qualifier" errors that appeared, I'm guessing the issue is that "Options" is also a property of the THistoryList class as well as a local variable.  Technically speaking though, this is a regression unless it's to be documented (and hence break backward compatibility) that if you have a property and a local variable of the same name, the property takes precedence.

Nonsense.

That would mean that adding any new property in any object is a breaking change because the same name can be used in any possible with-statement at any place in any program or any local variable etc.

Short: every new property introduces a risk of clashes.

Ondrej

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to