Serguei TARASSOV wrote on Tue, 23 Feb 2016:
Thank you, guys, for a good compatibility support
Come on. The only way this kind of problems can be avoided is by us never adding any new field or property to any class, ever.
It would probably be useful if we added support to the compiler to generate a warning (or even error) in case a with statement hides an existing symbol in scope though.
Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal