[Lazarus] "lcl: less with-blocks for FPC 3.1.1"

Michael Van Canneyt michael at freepascal.org
Wed Nov 11 19:01:24 CET 2015



On Wed, 11 Nov 2015, Marcos Douglas wrote:

> Hi,
>
> Many changes using this comment (in the subject) was made in LCL SVN,
> changing the 'with' sintaxe to use a variable instead... why?
>
> Please, I would like to know if something will change in the new
> compiler version using the 'with' sintaxe.

Nothing will change for with. 
But TRect may receive methods, and this may lead to hard-to-catch errors.

Mattias did this for safety.

Michael.




More information about the Lazarus mailing list