[fpc-pascal] with statement using mulltiple objects

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Sep 16 12:36:52 CEST 2014


On Tue, 16 Sep 2014 07:26:24 -0300
Philippe <philippe at quarta.com.br> wrote:

>  
> 
> could the compiler avoid "with" pitfalls? 
> 
> now the compiler attach
> a property to the closest "with" where it finds it. 
> 
> the compiler could
> check if the property appears in another "with" of the "with" stack and
> produce a message (hint, warning or error, which may be configurated).
> 
> 
> is not it a way to make the "with" safe? 

How to get rid of the hint?

Mattias



More information about the fpc-pascal mailing list