On 08/03/2011 06:50 AM, Max Vlasov wrote:

1. Introducing a check in the compiler setting (or a conditional define) that could force the developer to use self inside 'with' constructions

As you can consider any class functions code to be implicitly included in a "with self" clause this could be done more generally: using an "naked" identifier that is specified by multiple (nested) "with"s.

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to